Add new record to a table.

calvinle

New Member
Joined
Sep 18, 2014
Messages
1
Hi,

I currently have 2 table "tblContract" and "tblFund" and in frmEdit, I have 2 button, which I want that after you write a teacher name in the combobox, if it's not in the request, the user will be able to add that new record. Also, if they will able to delete that record too.

The main record in the combobox is: "Teacher ID".

Please help.
 

Some videos you may like

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

ranman256

Well-known Member
Joined
Jun 17, 2014
Messages
1,900
If the combobox is pulling IDs then you wont be able to add new record because it uses IDs not Teacher names.
Youd have to build an ADD button, open the form to add record, and a save button to 1. save the rec, and 2, update the combo with new recs.
 

Watch MrExcel Video

Forum statistics

Threads
1,109,330
Messages
5,528,043
Members
409,799
Latest member
mlewan_ca

This Week's Hot Topics

Top