Form does not load new record on Load (1 Viewer)

mudrun

New member
Local time
Today, 04:29
Joined
May 19, 2018
Messages
11
Hello -

I'm a very basic user.
Each year I have a database that's used for two months. Data is entered daily.

For the past two years, when the form is clicked on, a new record would be displayed. For some reason, I now get a an error:
Run-time error '2499':
You can't use the GoToRecord or SearchForRecord action or method on an object in Design view.

The form is not in Design View, on load.
Apologies if this question was asked/answered before.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 01:29
Joined
Aug 30, 2003
Messages
36,124
Can you add a record directly in the table? I wonder if the database is in a read only folder or so
 

mudrun

New member
Local time
Today, 04:29
Joined
May 19, 2018
Messages
11
Yes. I can add a new record to the table. I have a, "New Record" button. When i click it, (after clearing the debug to get to the form) I get a new form. For some reason, when I load the form, and after clearing the debug error shown above, it will show the very first table entry.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 01:29
Joined
Aug 30, 2003
Messages
36,124
That is curious. Can you attach the db here?

Not sure why your posts are being moderated by the way.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 01:29
Joined
Aug 30, 2003
Messages
36,124
Would that not be because a question is posted in the code repository - as was this one?

Duh, yes, thanks. I was hunting for hidden links, missed the obvious. I've moved it to Forms.
 

Users who are viewing this thread

Top Bottom