Steve Thomas
Jun 12th, 2000, 05:03 AM
I have an ADO control on my form bound to a field that allows 9 characters. After a user enters data in the box, I run the following code
Form.ADODC1.Recordset.update
Even though the user entered 10 digits, the update seemed to work. However, when I try and move to the next record, I get an error (Operation failed). It seems useless to run the .update if it is not really updating the record??????
If I place the following code in the same box
Form.ADODC1.Recordset.update
Form.ADODC1.Recordset.movenext
Then it errors.
I can issue a movenext and then a moveprevious but I was wondering if there is a better way??????
Form.ADODC1.Recordset.update
Even though the user entered 10 digits, the update seemed to work. However, when I try and move to the next record, I get an error (Operation failed). It seems useless to run the .update if it is not really updating the record??????
If I place the following code in the same box
Form.ADODC1.Recordset.update
Form.ADODC1.Recordset.movenext
Then it errors.
I can issue a movenext and then a moveprevious but I was wondering if there is a better way??????