Sql query report -- maybe a stupid question

mlh407

Registered User.
Local time
Today, 06:15
Joined
Jun 24, 2005
Messages
26
I am not sure if this should be in reports or under vba.

I would like to take a sql query, (Select * from table_name where a=1). It might return 5-10 rows.

I would like to have a script, that opens up a report, filters by a query, prints the report, closes the report, and takes you back where you started from without any user intervention.

Can this be done, are there code examples?
 

Users who are viewing this thread

Back
Top Bottom