Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 22-08-2008, 12:41 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2006
Posts: 32
Default VB 6 Help Needed.....


I am new to VB6.
i have created a form and also a database with five fields.
i have also connected the db to the form by placing data control tool in the form.
i have a button named save and the coding for the button in click event is data1.recordset.update.

when i enter the input in runtime and click the save button, a dialog box appears with "update or cancel update without addnew or edit".

my question is how to add a first record in the database. what code i have to write in save button?

also tell me whether i can display the current system time during runtime in a label?
part_time_ch is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 24-08-2008, 10:42 AM   #2 (permalink)
Broken In
 
Join Date: Sep 2006
Posts: 147
Default Re: VB 6 Help Needed.....

Quote:
Originally Posted by part_time_ch View Post
I am new to VB6.
i have created a form and also a database with five fields.
i have also connected the db to the form by placing data control tool in the form.
i have a button named save and the coding for the button in click event is data1.recordset.update.

when i enter the input in runtime and click the save button, a dialog box appears with "update or cancel update without addnew or edit".

my question is how to add a first record in the database. what code i have to write in save button?

also tell me whether i can display the current system time during runtime in a label?
its already been a year since i have stopped using vb.what i can suggest is you are adding a record not updating it.so try using this one data1.recordset.add or smthing like tht.i really dont remember.
and you are asking in the wrong section.u wont get quick reply here.mov it to programming section.
__________________
techtricks.co.in

portforwarding
xp-vista crossover connection
installing xp on vista notebooks
sreenidhi88 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed. Things needed to connect SATA HDD to... prashantmaxsteel Hardware Q&A 3 21-11-2007 12:26 PM
Help needed! danny14871 QnA (read only) 1 30-10-2005 07:37 PM
needed 2 buy a good camera????? help needed.. The Day Walker! Cameras and camcorders 5 02-07-2005 04:43 PM

 
Latest Threads
- by chris
- by icebags
- by Tenida

Advertisement




All times are GMT +5.5. The time now is 01:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2