zelarra821
Registered User.
- Local time
- Today, 01:43
- Joined
- Jan 14, 2019
- Messages
- 847
Okay. If in the event when I open the form I do not put it to go to any record, it shows me all, from the beginning.You don't. I just posted the whole event, expecting you to identify what you could take from that.?
Look at the GotoRecord lines.
Yes I use it
Code:
DoCmd.GoToRecord,, acNewRec
It shows me only the last record, and I can't see any more records on the screen.
And if I use
Code:
DoCmd.RunCommand acCmdRecordsGoToLast
DoCmd.GoToRecord acDataForm, Me.Name, acPrevious, 3
DoCmd.RunCommand acCmdRecordsGoToNew
It takes me all the registers adjusted to the height of the screen (8 registers plus the new register). In the form that had the problem I have 11 records. When I add 12, I close and reopen, with your code it already shows me all three plus the new one.
So I guess this is the best I can hope for.
Thank you very much to all.