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

ODBC Record Source in a report

Status
Not open for further replies.

rushdib

Programmer
Jun 12, 2001
203
US
Hi,
How do I use an ODBC Connection string as a record source
property in reports? The ODBC connection is to a SQL Server database.

Thank You,

Rushdi
 
The quietest way is to attach the remote ODBC table and to build the RecordSource parameter on the attached table.

When you can't, build a query to try the SELECT statement before you use it in your Report - you'll see the records returned.
You have to create an SQL-Direct query.

Once running, either use the query as the RecordSource or copy the SQL string generated in the Record Source parameter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top