|
-
Jan 18th, 2000, 01:00 AM
#1
Thread Starter
Junior Member
Hi, I have two datacombo boxes that are populated with number codes fields. One has 'location codes' and the other is 'occupation codes'. These fields come from my 'Claims' table in SQL 7. I have two small tables called 'LocationCodes' and 'OccupationCodes' that have the same codes as in the 'Claims' table and their respective descriptions. What I want to do is make it so that when the user clicks the datacombo box and selects one of the available number codes, the appropriate description for that code will display. Can somebody help?
-
Jan 20th, 2000, 08:41 PM
#2
Addicted Member
You can use TextBox controls that will be bound to the tables that contain the descriptions for the codes. Then, whenever the user selects an item in the ComboBox, use the Find method to move to the appropriate records and show the values. I suppose the Code field in both of the tables is the primary key so the Find method will return only one result.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|