Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

update current record on a form.

Posted on 2009-04-20
2
Medium Priority
?
549 Views
Last Modified: 2013-11-28
I have a form with data displayed in the detail section of the form, it is a contuinious form.  The record source for the form is a table, I have a command button in the detail section so I can make a change to the individual records by clicking on the button and it opens a second form where I can edit the records and then save the data back to the table this all works correctly. I close and reopen the form to refresh the data.  I have a field that has the last record number in it.  I know how to move to the record with a button but it won't work I get 2015 runtime error You can't go to the specified record.
Is this because it is bound to a table?
Once I get this resolved, what action do could I use to move their during the form re-opening?

Thank you experts
0
Comment
Question by:mdlp
2 Comments
 
LVL 4

Accepted Solution

by:
Rodger earned 1500 total points
ID: 24190150
You know you could do a me.refresh on the form.  Place that on the on Got Focus event this will refresh the form and show your updates.  
0
 

Author Closing Comment

by:mdlp
ID: 31572522
This did not actualy fix this problem, but I will use it in the future, thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question