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!

Editing a report in code

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Does anyone know if & how you could go about setting a report to a temporary QueryDef?
I presently make and afterwards delete a TableDef, but if this could be done more elegantly I'd very much appreciate knowing how.

Cheers,
Douglas JL If it don't make you laugh, it ain't true.
 
Hmmmmmmm,

One approach I use is to modify the RecordSource query in code before opening the report. This is quite straight forward. A minor variation on this is to use a parameter query as the RecordSource.

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top