I have created a form which contains a save button to save the current record. is it possible to check if the record has not been saved yet using VB code ?
Use the Dirty property, to see if the form has any pending changes which have still to be applied to the underlying recordsource. For example, a snippet of code behind a button might be:
if me.dirty then
'...your code
end if
Steve Lewy
Solutions Developer
steve@lewycomputing.com.au
(dont cut corners or you'll go round in circles)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.