Hello,
My Front End is VB and Back End is Access.
I have two tables in my Database. One is Company table other is Branch table. Company contains ComID as primary key and ComName fields. Branch contains ComID as foreign key.
I have combobox on my form. Combobox should display company names but when i select company name from combox , ID of that company should be stored in Branch table. It means Display field is company name and value field is comID.
how to do coding of this in Visual Basic. Plz tell me.
Thanks
My Front End is VB and Back End is Access.
I have two tables in my Database. One is Company table other is Branch table. Company contains ComID as primary key and ComName fields. Branch contains ComID as foreign key.
I have combobox on my form. Combobox should display company names but when i select company name from combox , ID of that company should be stored in Branch table. It means Display field is company name and value field is comID.
how to do coding of this in Visual Basic. Plz tell me.
Thanks
Comment