Remain on current record after requery


Joined
May 15, 2018
Messages
1
Reaction score
0
Hello,

I know almost nothing about programming, but I really need some help with what I am trying to do.

I've been trying to figure out how to do this for a couple of days now. I tried searching through this forum, but I just can't seem to be able to apply the methods discussed here to my work.

I am trying to add a command box in which I could requery my record. I was able to accomplish this by typing "me.requery" under build event. However, whenever I click on the command box, the record refreshes, but it goes back to the first record. How do I requery but stay on the current record?

Thanks for your time,

Wilson
 

Attachments

Joined
Mar 14, 2018
Messages
466
Reaction score
140
Can you add code to the button click event to remember the current record, and then after the requery it selects the current record?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top