D
deb
I have a total of 4 forms, nested...
f0Site, f1Customer, f2PlantSub, f3UnitSub
On the main form (f0Site) I have an edit button that when clicked it sets
all forms for edit. see below code
Me!f1Customer.Form.AllowAdditions = True
Me!f1Customer.Form!f2PlantSub.Form.AllowAdditions = True
Me!f1Customer.Form!f2PlantSub.Form!f3UnitSub.Form.AllowAdditions = True
Me.AllowEdits = True
Me!f1Customer.Form.AllowEdits = True
Me!f1Customer.Form!f2PlantSub.Form.AllowEdits = True
Me!f1Customer.Form!f2PlantSub.Form!f3UnitSub.Form.AllowEdits = True
If I am on a sub record of a sub form and click the Edit button, I am taken
back to the first record. How can I stay on the current record showing at
the time the Edit button is clicked.
For instance.
I am on Site 1 record, Customer 1 record, Plant 1 record and Unit 3 record.
When I click the Edit button it takes me to Site 1 record, Customer 1
record, Plant 1 record and Unit 1 record.
I want to stay on the Unit 3 record and make the edits.
Thanks
f0Site, f1Customer, f2PlantSub, f3UnitSub
On the main form (f0Site) I have an edit button that when clicked it sets
all forms for edit. see below code
Me!f1Customer.Form.AllowAdditions = True
Me!f1Customer.Form!f2PlantSub.Form.AllowAdditions = True
Me!f1Customer.Form!f2PlantSub.Form!f3UnitSub.Form.AllowAdditions = True
Me.AllowEdits = True
Me!f1Customer.Form.AllowEdits = True
Me!f1Customer.Form!f2PlantSub.Form.AllowEdits = True
Me!f1Customer.Form!f2PlantSub.Form!f3UnitSub.Form.AllowEdits = True
If I am on a sub record of a sub form and click the Edit button, I am taken
back to the first record. How can I stay on the current record showing at
the time the Edit button is clicked.
For instance.
I am on Site 1 record, Customer 1 record, Plant 1 record and Unit 3 record.
When I click the Edit button it takes me to Site 1 record, Customer 1
record, Plant 1 record and Unit 1 record.
I want to stay on the Unit 3 record and make the edits.
Thanks