Thanks a lot...
Another doubt I am having is that I have created a DB with ADODC and in the
VB Form properties (ADODC) I have connected the DB with the
VB Form. But When I try to enter some values in the Text box and when I go to next field, the earlier value (for example, the first field name is Name of Customer).I entered the value for the field.and when I try to enter the value for the next field, the first value disappears. Is it because of the ADODC connection.
How can I connect
VB form and DB with SQL (INSERT) Command.The fields I am having are Name of the Customer,dept / Area, Area of compalint, Complaint details,Telephone and E-mail Id.
Can you please help me in these...........
Nsnda Kumar
Quote:
quote:Originally posted by woodyz
On the date part:
In VB6 you just use "Now". You can format it as you please, but the simplest thing is:
Me.txtDate.Text = Now
Woody Z
http://www.learntoprogramnow.com
|