mare
Registered User.
- Local time
- Today, 08:53
- Joined
- Jan 20, 2003
- Messages
- 16
I'm almost finished with my database in Access 97, but for one little problem. I have a combo list box that will require additions to it. Instead of going back to the table that controls that combo box, I want to be able to type the new information into the field and have it automatically added to the appropriate table.
I have checked through the forum, and noticed I'm not the only one who has encountered this. I've tried to use the solutions suggested, but nothing seems to work.
My knowledge of VBA at this point is very limited. I will be going on a course, but not soon enough!
Here are the details:
Form that is used: Stock Number NEW
Field Name: Program (also known as: Combo18)
(Combo List - Limit to List: Yes)
Data that is input is strictly text - no numbers
Table for this
Combo List: Programs
What I would like to do is:
If the program (i.e., Training) is not in the list, to add it (by typing it in the program field.
When I have finished typing in "Training" and TAB to the next field, to get the message that "Training is not in the list - do you wish to add it?"
A "Yes" button that once it is pressed, "Training" is saved to the Programs Table. Also, a "No" button (do not add to the list) - just in case.
Any suggestions will be greatly appreciated.
Also, can anyone suggest a good VBA book for beginners?
Thank you.
I have checked through the forum, and noticed I'm not the only one who has encountered this. I've tried to use the solutions suggested, but nothing seems to work.
My knowledge of VBA at this point is very limited. I will be going on a course, but not soon enough!
Here are the details:
Form that is used: Stock Number NEW
Field Name: Program (also known as: Combo18)
(Combo List - Limit to List: Yes)
Data that is input is strictly text - no numbers
Table for this
Combo List: Programs
What I would like to do is:
If the program (i.e., Training) is not in the list, to add it (by typing it in the program field.
When I have finished typing in "Training" and TAB to the next field, to get the message that "Training is not in the list - do you wish to add it?"
A "Yes" button that once it is pressed, "Training" is saved to the Programs Table. Also, a "No" button (do not add to the list) - just in case.
Any suggestions will be greatly appreciated.
Also, can anyone suggest a good VBA book for beginners?
Thank you.