G
Guest
I am new here, so please let me know if there is a more appropriate newsgroup
for me to post this question.
Reports in Access 2000 and 2002.
I am opening a report at runtime and I need to be able to generate a list of
fields available to the report. This would match what appears when I click
View, Field List in the Design View of a report. I need this to work for
reports whose recordsource contains parameters. The recordsource may contain
the full query string or a saved query reference. I use the following code
to open the report object:
Dim app as New Access.Application
app.OpenCurrentDatabase "C:\northwind.mdb"
app.DoCmd.OpenReport "Employee Sales by Country", acViewDesign
Also, is it possible to retrieve a list of parameters available to the report?
TIA!
for me to post this question.
Reports in Access 2000 and 2002.
I am opening a report at runtime and I need to be able to generate a list of
fields available to the report. This would match what appears when I click
View, Field List in the Design View of a report. I need this to work for
reports whose recordsource contains parameters. The recordsource may contain
the full query string or a saved query reference. I use the following code
to open the report object:
Dim app as New Access.Application
app.OpenCurrentDatabase "C:\northwind.mdb"
app.DoCmd.OpenReport "Employee Sales by Country", acViewDesign
Also, is it possible to retrieve a list of parameters available to the report?
TIA!