halem2
Registered User.
- Local time
- Today, 14:47
- Joined
- Nov 8, 2006
- Messages
- 180
Hi:
using Access 2000. I have a form called frmLocation that's populated from a qryLocation, which prompts user to enter a specific location to display using field Location. I also created a report from the same qry.
I created a macro that would run the report from the frmLocation but it keeps prompting for the Location. It is supposed to "read" the Location field from the form frmLocation and open the rptLocation showing the same location shown in the form.
This is what I have in the macro:
Under ACTION: OpenReport
then under
Report Name: rptLocation
View: Print Preview
Filter Name:
Where Condition: [Location]=[Forms]![frmLocation]![Location]
When I call the macro from the form it prompts again for the Location.
Any ideas how to make this work? I thought I had it but I guess not...
using Access 2000. I have a form called frmLocation that's populated from a qryLocation, which prompts user to enter a specific location to display using field Location. I also created a report from the same qry.
I created a macro that would run the report from the frmLocation but it keeps prompting for the Location. It is supposed to "read" the Location field from the form frmLocation and open the rptLocation showing the same location shown in the form.
This is what I have in the macro:
Under ACTION: OpenReport
then under
Report Name: rptLocation
View: Print Preview
Filter Name:
Where Condition: [Location]=[Forms]![frmLocation]![Location]
When I call the macro from the form it prompts again for the Location.
Any ideas how to make this work? I thought I had it but I guess not...