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

Conditional Printing Location in Detail Section

Status
Not open for further replies.

pungy

Instructor
Aug 5, 2007
71
US
Crystal Reports XI - Professional

Can someone explain to me how to set up the following:

on a form, I have two different locations in the Detail Section. For simplicity, I will call them Location-1 and Location-2.

I have a record coming in that has various fields. Using one of the fields, I want to do this:
if {table1.field-1} = {table2.field-1} then print a variable at Location-1
else
if {table1.field-1} = {table1.field-2}) then print a variable at Location-2.

How do I define the Locations? How do I format the "If" statement?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top