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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display records in a condition

Status
Not open for further replies.

tarnee19

IS-IT--Management
Jan 18, 2005
24
US
I want to display records such as (Days, Time) when Count rows =2, when I make formula saying "if <@Count> = 2 then (stringVar Days; timeVar Time)" it only displays Time and doesnt show Days field.

How can i display all fields using condition?

Thanks,
Tarnee
 
Crystal will always display the last statement in a formula.
TimeVar time is the last statement

Try concatenating the statement together like this:
if <@Count> = 2 then
(
stringVar Days & timeVar Time
)

HTH


Bob Suruncle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top