R
raju
Hai,
I have a for called "Item" that has its control source set to "Item" Table.
I have a subform called "Distribution" with its control source set to
"Distribution" table embedded within the "Item" Form.What is observed is, if
all the fields in the "Item Form" is filled without filling the Distribution
Subform and the form closed the table "Item" is updated. I want to prevent
this update and warn the user that if the form is closed without filling the
Distribution Data the Item data would not be saved.
I experimented with several controls but did not get the desired results. I
tried writing macro from the form, but am not able to select the controls on
the subform. There would be a error saying that such a control does not exist
on the form.
I have a for called "Item" that has its control source set to "Item" Table.
I have a subform called "Distribution" with its control source set to
"Distribution" table embedded within the "Item" Form.What is observed is, if
all the fields in the "Item Form" is filled without filling the Distribution
Subform and the form closed the table "Item" is updated. I want to prevent
this update and warn the user that if the form is closed without filling the
Distribution Data the Item data would not be saved.
I experimented with several controls but did not get the desired results. I
tried writing macro from the form, but am not able to select the controls on
the subform. There would be a error saying that such a control does not exist
on the form.