I'm having a bear of a time here. I have a table that I want the user to be able to insert new data into (this new data will only be 1 letter). Anyway I've made a small query that accepts an @variable. When I run the query I get an input box asking me for the variable and inserts my data into the table like it should.
Where my problem arises is I need to be able to let the user click a button, enter the desired data into an input box, then update the listbox that contains the data including the new one the user just entered. I originally wanted to update 2 fields in that table by having another inputbox pop up after the 1st was entered. Figured that'd be next to impossible though.
For the life of me I can't figure out how to send the input box data to the listbox via VBA. Can anyone guide me on this please?
This is my query code...
Where my problem arises is I need to be able to let the user click a button, enter the desired data into an input box, then update the listbox that contains the data including the new one the user just entered. I originally wanted to update 2 fields in that table by having another inputbox pop up after the 1st was entered. Figured that'd be next to impossible though.
For the life of me I can't figure out how to send the input box data to the listbox via VBA. Can anyone guide me on this please?
This is my query code...
Code:
INSERT INTO tblIndicator ( [Indicator] ) SELECT [@Indicator] AS Expr1;
Comment