Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: A Number is Required Error
Author
Message
BoltzGirl
Groupie
Joined: 22 Jan 2013
Online Status: Offline
Posts: 89
Topic: A Number is Required Error
Posted: 24 May 2017 at 11:48am
I have a very simple report going and created a formula as follows:
If {PD.SeqNumber} = '1'
Then
{PD.Code}
The {PD.SeqNumber}field IS a Number field, but I keep getting "A Number is required here" highlighting my '1'.
What am I doing wrong here?
Using SAP Crystal Reports 2013 Support Pack 7
Version 14.1.7.1853
Edited by BoltzGirl - 24 May 2017 at 11:49am
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 25 May 2017 at 2:43am
remove your quotes from around the 1. When you add the quotes it is reading it as a string not an integer
If {PD.SeqNumber} = 1
Then
{PD.Code}
IP Logged
BoltzGirl
Groupie
Joined: 22 Jan 2013
Online Status: Offline
Posts: 89
Posted: 25 May 2017 at 5:32am
DBlank - thank you so much for reminding me of this! I totally forgot and should have just taken a break from it!
Thanks again, it worked like a gem!
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.