Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: VB
Expertise: Intermediate
Apr 7, 2004



Application Security Testing: An Integral Part of DevOps

Displaying a Value in a Listbox Control

First, bind a data control with the listbox. When you've bound a listbox control to a field within a recordset, the control will display the value in the field only when there is an existing entry in the control which matches the value in the bound field. You can change the value of the field on a particular record by selecting another entry in the control and moving off of the record.

Db_Member.DatabaseName = "Member.mdb"
Db_Member.RecordSource = "Select DISTINCT hobbies from  Member"

Lst_Hobbies.DataField = "hobbies"
A Kumaravel
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date