Hey all,
Have a very annoying issue that has had me stumped for the last two days; whenever I use a reference to a control in another form as a criteria for my query, it wont recognise it. The form is always open as you cannot access the query without it.
I am using;
as the criteria in the Query. When I run it the Query prompts the user to enter a value for the criteria instead of detecting the existing strings (just like a parameter Query). Can anyone explain why it isn't working? I run the Query from another control using a simple 'Requery'. Ideally I want it to run on load but I believe it is trying to pull information from a form not fully loaded and so wont work properly.
So my main issue is why my criteria isn't recognising the form control as a reference. The control is in a Tab, but searches assured me that is no different from being in Detail.
Anyone that can shed some light on my problem?
Thanks,
Tom
Have a very annoying issue that has had me stumped for the last two days; whenever I use a reference to a control in another form as a criteria for my query, it wont recognise it. The form is always open as you cannot access the query without it.
I am using;
Code:
[Forms]![Candidate]![WorkEmail] Or [Forms]![Candidate]![PrivateEmail]
as the criteria in the Query. When I run it the Query prompts the user to enter a value for the criteria instead of detecting the existing strings (just like a parameter Query). Can anyone explain why it isn't working? I run the Query from another control using a simple 'Requery'. Ideally I want it to run on load but I believe it is trying to pull information from a form not fully loaded and so wont work properly.
So my main issue is why my criteria isn't recognising the form control as a reference. The control is in a Tab, but searches assured me that is no different from being in Detail.
Anyone that can shed some light on my problem?
Thanks,
Tom