part_time_ch
Broken In
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?
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?