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!

Finding fields in tables

Status
Not open for further replies.

LilRed12

MIS
Dec 22, 2003
1
US
I'm very new to Crystal Reports. Is there a way to find out which tables a certain field is contained within? For example, if the field "cliendid" is in many tables, how do I know which ones? Any assistance would be appreciated. Thanks
 
You'll have to query the system tables (if supported for the type of database). Go to File>Options>Database tab, and check the box next to 'System Tables'.

For example, if your database is MSSQL Server, you would add the syscolumns and sysobjects tables, join on so.id = sc.id, and your record selection formula would be:

{syscolumns.name} = "ClientID"

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top