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!

Can we display multiple messages in if-else statement?

Status
Not open for further replies.

cdnamm

Programmer
Oct 25, 2002
41
US
I have this if-else statement

if not isnull(ProcedureCode) then
(
ProcedureCode;
ProcedureDecription;
)
else
""

and it would print out only the ProcedureDescription. Could
someone help me with this? (I don't want to concatenate them
into one string because I want both in 2 separate lines)
 
Use:
------------------------------------------
ProcedureCode + CHR(13) + ProcedureDecription;
------------------------------------------

Cheers,
- Ido
CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top