Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selecting one of the lookup values programmatically in DBLookupComboB.

Status
Not open for further replies.

amarti44

Programmer
Feb 16, 2001
23
0
0
US
Hi:

I have a DBLookupComboBox in a form connected to a Data Source and List Source in two different tables in a database. It works just fine. My question is:
How can I select one of the lookup values programmatically without user intervention. In other words, I want to use one of the values in the drop-down list programmatically to appear in the text field of the control without user intervention.

Thanks in Advance,

Alberto
 
The easiest way would be to set the db field in the attached dataset to the appropriate value.

Teal Wren TealWren
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top