jetspin
Programmer
- Mar 5, 2002
- 76
Hi.
I cannot enter data on a popup form if the main form is being edited (pencil is displayed at left). In other words, the popup form opens and displays but I cannot enter any data in the fields with no messages etc. as long as the main form is being edited. U have to update the main form first. This is an incovenince to the user. I have the pop up form simply to display more addtional data of the same record as the main form.
Some back gound is ...
I have a main form with a button that opens a new small form that has its own query for a control source to the same record of the main form. Here is the code of the button...
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmOrderItems"
stLinkCriteria = "[ordOrdID]=" & Me![ordOrdID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Any ideas?
Thanks
I cannot enter data on a popup form if the main form is being edited (pencil is displayed at left). In other words, the popup form opens and displays but I cannot enter any data in the fields with no messages etc. as long as the main form is being edited. U have to update the main form first. This is an incovenince to the user. I have the pop up form simply to display more addtional data of the same record as the main form.
Some back gound is ...
I have a main form with a button that opens a new small form that has its own query for a control source to the same record of the main form. Here is the code of the button...
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmOrderItems"
stLinkCriteria = "[ordOrdID]=" & Me![ordOrdID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Any ideas?
Thanks