PDA

View Full Version : Problem with three ComboBox including Date item



Nader
01-23-2008, 07:35 AM
I have three ComboBox the first one including item of years ( 2008,2009,..) the second for mounthe (1,2..0
and the third for day ( 1,2,3..etc)
I insert the code in Combobox3

lblDate.Caption = ComboBox1.Text & "/" & ComboBox2.Text & "/" & ComboBox3.Textto print the data in label (lblDate) like this format 2008/2/20

the problem that i faced if I want to change only the mounth I have to Clear all the Date and starts from the
year then mounth then dya and same for the day or year
How can change only one text of comboBox without change the other texts

Bob Phillips
01-23-2008, 08:06 AM
Why do you have to clear all the data?

Nader
01-23-2008, 09:15 AM
Becaue it will not insert the new number to the lalble I have to start again

Bob Phillips
01-23-2008, 01:29 PM
I cannot see why not. Wat is the code?