Hi,
I have a bit of code which im having real trouble with.
What it basically does is stores some variables, and then uses them to destinguish which form to open and which record to go to.
The form opens fine, but then i ask it to find the form which has ID = strID. Im using the following code:
DoCmd.OpenForm strFile
DoCmd.Maximize
DoCmd.GoToControl "ID"
DoCmd.FindRecord strID
Ive used the similar thing many times before and its worked fine, but here it is coming up with an error saying "You can't use Find or Replace now" which isnt overly helpfull.
Any ideas on why this error appears?
Thank you
I have a bit of code which im having real trouble with.
What it basically does is stores some variables, and then uses them to destinguish which form to open and which record to go to.
The form opens fine, but then i ask it to find the form which has ID = strID. Im using the following code:
DoCmd.OpenForm strFile
DoCmd.Maximize
DoCmd.GoToControl "ID"
DoCmd.FindRecord strID
Ive used the similar thing many times before and its worked fine, but here it is coming up with an error saying "You can't use Find or Replace now" which isnt overly helpfull.
Any ideas on why this error appears?
Thank you