Axle_The_Red
New member
- Local time
- Today, 11:58
- Joined
- Jul 1, 2008
- Messages
- 6
Hi! I'm pretty new to Access, but I've got a few years of coding experience behind me...and I can't figure this out.
[Current].[Location] Like "*" & [Enter Location:] & "*"
This is the Where clause in my macro. It's supposed to open a form by searching for a location which the user is prompted for. However, when doing so, two prompts appear instead of one. The first says "Enter Parameter Value" and has "Current.Location" as the prompt. The second prompt asks "Enter Location:" (which is what I want it to do).
If I copy the code to a query, it doesn't have two input prompts, only the "Enter Location" that I want...I'm not sure what I'm doing wrong. Is the macro Where clause different than the query one somehow?
I'm using Access 2003 if it makes a difference.
Thanks!
[Current].[Location] Like "*" & [Enter Location:] & "*"
This is the Where clause in my macro. It's supposed to open a form by searching for a location which the user is prompted for. However, when doing so, two prompts appear instead of one. The first says "Enter Parameter Value" and has "Current.Location" as the prompt. The second prompt asks "Enter Location:" (which is what I want it to do).
If I copy the code to a query, it doesn't have two input prompts, only the "Enter Location" that I want...I'm not sure what I'm doing wrong. Is the macro Where clause different than the query one somehow?
I'm using Access 2003 if it makes a difference.
Thanks!