Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / October 2005

Tip: Looking for answers? Try searching our database.

recordset doesn't reflect changes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
wasseem - 03 Oct 2005 19:01 GMT
Hi
I have Continuous Forms defined as a subform.
When i do a change to a field i see the change on screen .
BUT the recordset is not reflecting the change until i change another
record. and the new record change will be reflected only after another record
was change

please help
John Vinson - 04 Oct 2005 06:13 GMT
>Hi
>I have Continuous Forms defined as a subform.
>When i do a change to a field i see the change on screen .
>BUT the recordset is not reflecting the change until i change another
>record. and the new record change will be reflected only after another record
>was change

Actually, there's a subtle difference: the record is saved, not after
you *change* another record, but after you *set the focus* to another
record (or move off the subform onto the mainform, or close the form,
or various other actions).

If you wish to force an immediate save of a record, pick some
appropriate event (such as the AfterUpdate event of some control on
the subform), and write code like

Private Sub controlname_AfterUpdate()
Me.Dirty = False
End Sub

                 John W. Vinson[MVP]    
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.