SimoneRene
Registered User.
- Local time
- Today, 22:23
- Joined
- Mar 15, 2017
- Messages
- 58
Hi,
So I have two Tables a "Master list" and an "Up issue list" and two corresponding forms.
The User inputs new records into the Master list using the form, the columns/fields are; Document number, Document name, Document status and Date.
The initial Document status of all documents is IN WORK.
Once the Document is finished the User uses "Up issue form".
A combo box is used to select the Document number (linked to the Master list, hence, you cannot Up issue until a document is raised in the Master list).
This CboBox on change auto fills Document name.
There is also a Document Status text box on the Up Issue form which has a default value of ISSUED. The user fills in the other boxes on the form and the information is saved in the 'Up issue table'.
What I want to happen is, when a record is added to the Up Issue form and table the Document status becomes ISSUED I need the Master list Document status to change from IN WORK to ISSUED.
Any idea's would be greatly appreciated. I'm new to Access and VBA.
I was thinking of adding some code on 'after update' on Up Issue form Document status box. Possibly use Openrecordset to access the master list but I'm not sure how to do this.
Alternatively run an query to update after a change once again not sure how this would work to replace the existing "IN WORK" data to match the other table.
Thanks in advance!!
So I have two Tables a "Master list" and an "Up issue list" and two corresponding forms.
The User inputs new records into the Master list using the form, the columns/fields are; Document number, Document name, Document status and Date.
The initial Document status of all documents is IN WORK.
Once the Document is finished the User uses "Up issue form".
A combo box is used to select the Document number (linked to the Master list, hence, you cannot Up issue until a document is raised in the Master list).
This CboBox on change auto fills Document name.
There is also a Document Status text box on the Up Issue form which has a default value of ISSUED. The user fills in the other boxes on the form and the information is saved in the 'Up issue table'.
What I want to happen is, when a record is added to the Up Issue form and table the Document status becomes ISSUED I need the Master list Document status to change from IN WORK to ISSUED.
Any idea's would be greatly appreciated. I'm new to Access and VBA.
I was thinking of adding some code on 'after update' on Up Issue form Document status box. Possibly use Openrecordset to access the master list but I'm not sure how to do this.
Alternatively run an query to update after a change once again not sure how this would work to replace the existing "IN WORK" data to match the other table.
Thanks in advance!!