If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Visual Basic > Newbee

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-22-11, 07:34
krishnanhemanth krishnanhemanth is offline
Registered User
 
Join Date: May 2009
Posts: 23
Newbee

Hi
iam using vb2008
my backend is sql
my tables have been designed, relations set and sample data enterd
the front end needs to be on vb2008
the connections have been made and the tables are in vb
i have a basic doubt
i have created a datast with 2 tables
table custmer details ......pk is customerid
table workorder................fk is customerid
i have set the relation between these 2 tables
where iam stuck
on the form i have populated the fields
customerid from workorder table is a combobox
when i select a customerid from the combobox, i need all other related
customer details data like address name to be populated automatically
how do i do this
please help
hemanth
Reply With Quote
  #2 (permalink)  
Old 11-22-11, 10:53
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,075
Can you post the code you used to retrieve your data and bind it to your combobox?
__________________
oh yeah... documentation... I have heard of that.

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On