I've searched but can't seem to find what I'm looking for.
This is my first experience in working with two databases.
I have a Vehicle Maintenance program and an Inventory Program.
The Veh.Maint. has a form where the user can add parts used for a repair. If the part is not in the list it will open the form located in the Inventory Program. This form allows a new part to be added. So far...this works.
First, on NotInList, I'd like to populate the Inventory's "add" form when it opens with the value of the combo box on the "parts" form.
Second, after the part is added in the Inventory's "add" form, I'd like to update the combo box for the repair with the new part. Possibly correcting any upper/lower case. It would be nice to have each word's first letter in uppercase.
Currently:
It doesn't refresh the list and I have to close the repair form then open it up again and then the part will be in the list.
I've tried requery and refresh. Neither works or I'm not coding them correctly or in the right area.
I have a reference to the Inventory.mdb in the VehicleMaintenance.mdb
Each have their own front end/Seperate database to hold queries, macros, modules, forms and reports and back end/Seperate database to hold the tables only.
Thanks in advance!
This is my first experience in working with two databases.
I have a Vehicle Maintenance program and an Inventory Program.
The Veh.Maint. has a form where the user can add parts used for a repair. If the part is not in the list it will open the form located in the Inventory Program. This form allows a new part to be added. So far...this works.
First, on NotInList, I'd like to populate the Inventory's "add" form when it opens with the value of the combo box on the "parts" form.
Second, after the part is added in the Inventory's "add" form, I'd like to update the combo box for the repair with the new part. Possibly correcting any upper/lower case. It would be nice to have each word's first letter in uppercase.
Currently:
It doesn't refresh the list and I have to close the repair form then open it up again and then the part will be in the list.
I've tried requery and refresh. Neither works or I'm not coding them correctly or in the right area.
I have a reference to the Inventory.mdb in the VehicleMaintenance.mdb
Each have their own front end/Seperate database to hold queries, macros, modules, forms and reports and back end/Seperate database to hold the tables only.
Thanks in advance!