swift_ingress
New member
- Local time
- Today, 19:36
- Joined
- Mar 12, 2020
- Messages
- 4
Hi all,
I have a simple cascading combobox form: Vehicle Manufacturers and Vehicle Models (this is just a test case for proof of concept). Values are:
I'm trying to setup a button so that if a field value doesn't exist, the user can create a new record without having to re-enter data.
Eg: First combobox, user selects "Ferrari". Second combobox, user discovers that "Spider" doesn't exist. They enter the value "Spider" then click the button "Add New Vehicle". Now I get that they would only have to insert one extra field value in this example if they went to a "New Record" and started from blank fields, but this is just a test database for something much larger.
While I understand that Access is designed for data to be entered into a blank "New Record", I'm trying to save the user from re-entering data, or having to look up the database first before entering in the new data (especially when there's up to 10 comboboxes with complex information).
Would this be possible using either macros or VBA to something like onClick, createRecord, value=Forms![vehManufacturer], value=Forms![vehModel] (I'm just writting short hand of the concept, I don't have any experience with VBA or marcos)?
Thanks in advance,
Swift
I have a simple cascading combobox form: Vehicle Manufacturers and Vehicle Models (this is just a test case for proof of concept). Values are:
| Ferrari | Modena |
| Ford | GT |
I'm trying to setup a button so that if a field value doesn't exist, the user can create a new record without having to re-enter data.
Eg: First combobox, user selects "Ferrari". Second combobox, user discovers that "Spider" doesn't exist. They enter the value "Spider" then click the button "Add New Vehicle". Now I get that they would only have to insert one extra field value in this example if they went to a "New Record" and started from blank fields, but this is just a test database for something much larger.
While I understand that Access is designed for data to be entered into a blank "New Record", I'm trying to save the user from re-entering data, or having to look up the database first before entering in the new data (especially when there's up to 10 comboboxes with complex information).
Would this be possible using either macros or VBA to something like onClick, createRecord, value=Forms![vehManufacturer], value=Forms![vehModel] (I'm just writting short hand of the concept, I don't have any experience with VBA or marcos)?
Thanks in advance,
Swift