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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Null Values in a list box

Status
Not open for further replies.

webstaff

Technical User
Jan 2, 2003
97
0
0
GB
Hi Guys,

List Box question, using DW MX on winXP

To populate the list and values are no problem,

Say the list hold a list of titles to pick from

Doctor value= Dr.
Minister Value = Rev.
No Title value =
Etc
Etc

But I want the initial value of the list to be blank and hold a null value, so that the user filling in the form does not need to touch the list box if the record has no title.

In my list box values if i put say "No Title" as the initial selected choice with a value of "Null" - nothing entered in the value, It saves the text "No Title" to the database!!
If No Title is selected I want nothing to be entered,

Can anyone suggest how to get a null value into my list box values so that nothing gets saved to my database.

Thanks again
C
 
Thank you, I dont know why i never thought to try that.
Regards as ever
C
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top