My users have asked for a control which prompts them on whether they want to save or cancel entries made in forms.
I am still getting to grips with code and presume I would need something in the 'BeforeUpdate' event? Does anyone have some code they can post which has worked for them?
I think I read somewhere in one of the topics the save/cancel options already exist in Access but are hidden. Can these be unhidden if this is so?
One concern is that the 'Supplier' form which is used to record data has some additional forms (for data entry) linked to it by supplierID. At the moment you can open these up once the 'Supplier' form has a supplierID & enter data. The original Supplier form still has some mandatory information required. If this is not entered & the user closes data in the other forms could be held. What I am getting at in a round about way is to have some controls built into the command buttons linking the forms not allowing the linked forms to open until the supplier form has been saved (which could only occur if the manadatory information is entered). If there is code it would help if you could post and confirm where it should be entered.
Thanks in advance.
I am still getting to grips with code and presume I would need something in the 'BeforeUpdate' event? Does anyone have some code they can post which has worked for them?
I think I read somewhere in one of the topics the save/cancel options already exist in Access but are hidden. Can these be unhidden if this is so?
One concern is that the 'Supplier' form which is used to record data has some additional forms (for data entry) linked to it by supplierID. At the moment you can open these up once the 'Supplier' form has a supplierID & enter data. The original Supplier form still has some mandatory information required. If this is not entered & the user closes data in the other forms could be held. What I am getting at in a round about way is to have some controls built into the command buttons linking the forms not allowing the linked forms to open until the supplier form has been saved (which could only occur if the manadatory information is entered). If there is code it would help if you could post and confirm where it should be entered.
Thanks in advance.