Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iif statement using Access database

Status
Not open for further replies.

sunmed

Vendor
Mar 24, 2001
3
US
Crystal Reports newbie.
Trying to set up an iif statement to work with an Access database. Believe I have the part "=...)" but cannot get it to check out. Am I missing a beginning? Am putting this in a formula and am lost!
TIA
Charlie
 
Are you in MS Access or are you in Crystal reading an Access table.

In Crystal you might find it easier to use Crystal's If Then Else syntax:

If {table.Gender} = "M"
then "Male"
else "Female"
Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
I'm in Crystal, what i need to do is from the data "refill 2 times" (part of a snippet) find the 2 and then print the 2. this figure is variable and sometimes isn't there . When it's null, i then have to print an "X" on a different line. Ken, do you ever teach in the Southern New England area?
I've learned to do some simple stuff with Crystal but now I have a need to work with Crystal (native) and Advantage (OBDC) to create 1 report. Man, that's way over my head.
Charlie
 
Sunmed,

You are searching a text field for ANY number or just 2, or a number after the word "refill"?
When you say null do you mean the entire field is null, or just that there isn't a number?

Questions about training should be off-line. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top