What does this mean?

GregSmith

Registered User.
Local time
Today, 14:59
Joined
Feb 22, 2002
Messages
126
I am receiving the following message:

You can't use the GoToRecord action or method on an object in design view.

How can I get out of design view?
 
If you got this message using a breakpoint, put that breakpoint one line under the GoToRecord line.
You cannot use the GoToRecord while within the VBA code page.
Newman
 
I have been using the GoToRecord within VBA up till today when it started giving that error message...
 
The problem is not using it in VBA, it is that it cannot be run while you are looking at the code.

If the code page is open(you can actualy see the code as it is running), it runs the code and stops at the GoToRecord line for that message error.

Maybe it does this for another reason, but I know that it displays that same message when you run the code while the code page is open.

If one of these is true:
*you use a breakpoint
*you run the code from the code page instead of from a form
*the code page is still open while you work in your forms

Then, you could close the code page before you run the form or, in the case of the breakpoint (Big black dot in the left margin of the code page), put that breakpoint one line underneath the GoToRecord line or just erase it (click on it).

Newman
 
I changed the properites on the form: popup to no and model to no and it works again...

Not sure why...
 

Users who are viewing this thread

Back
Top Bottom