I have a table and try to add records in the table by using 2 text boxes and an ADO datacontrol.
I have an empty table
I get an error when trying to add the first record, but when I set up the first record manually it adds records after that.
I use Access 2000 and VB6.
In my table i have a Auto number field.
Can someone help me with a code that will not give me an error because it cannot use the command adodc1.recordset.addnew when there is no records available.
I will appreciate it
I have an empty table
I get an error when trying to add the first record, but when I set up the first record manually it adds records after that.
I use Access 2000 and VB6.
In my table i have a Auto number field.
Can someone help me with a code that will not give me an error because it cannot use the command adodc1.recordset.addnew when there is no records available.
I will appreciate it