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 / April 2008

Tip: Looking for answers? Try searching our database.

Strange: data puts form in state that prevents subform editing?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
The Dude - 21 Apr 2008 13:22 GMT
Hello all,

I have a question regarding the state of a form:
I have a form with a subform in DS view, and when I enter data in the main
form then I cannot edit anything in the subform.
If I empty completely the main form, then my subform becomes available for
editing...

So my question is to know if there is a state or event on a form that
triggers when you start entering data?
Note that I have set the record lock to Edited Record in both form/subform.

Thanks in advance :-]
TD
Maurice - 21 Apr 2008 18:28 GMT
My guess would be the "Dirty" state of the form. Maybe the subform is
strictly depended on the key of the mainform and it will only allow edits
when the fk is assigned.

Sometimes it helps to force the state of the form by setting its state to
me.dirty=false when a certain field has been filled (the pk for sure) and
maybe an additional field.

Signature

Maurice Ausum

> Hello all,
>
[quoted text clipped - 10 lines]
> Thanks in advance :-]
> TD
 
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.