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

also new in cr, how do i list fields

Status
Not open for further replies.

calvi

Technical User
May 26, 2003
87
NL
How do I show list of names from the namefield with the prerequisite of another field(called "city") in the same table that city must be e.g. "New York"

with sql is: select names from table where city = "New York"

how do i write this in crystal syntax?
 
You could do a record select:

{table.city} = "New York"

and then add {table.name} to your details section. Or, you could create a formula and use this as a detail field within your report:

if {table.city} = "New York" then {table.name}

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top