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!

Parameter based on two different tables? 1

Status
Not open for further replies.

piovesan

Technical User
Jan 23, 2002
159
CA
Hi;
I would like to create a parameter that will query two different fields in two different tables and get the results....... for example:

Get ALL records where Either "PARCEL"."MAIN_CLASS" = "BUSINESS PARK" OR "MODPARCEL"."MAIN_CLASS" = "BUSINESS PARK"

Can this be done in one parameter??
Thanks!
 
Hi,
If the value of the parameter will always be the same for BOTH tables, then yes..

After joining the tables use the parameter in the record selection formula like:

"PARCEL"."MAIN_CLASS" = {?Parameter}
OR
"MODPARCEL"."MAIN_CLASS" = {?Parameter}



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top