|
-
Jun 12th, 2000, 05:03 AM
#1
Thread Starter
Addicted Member
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??????
-
Jun 12th, 2000, 05:23 AM
#2
Guru
the ADO data control still has its quirks....what happens when you only put 9 characters into that field?
-
Jun 12th, 2000, 05:33 AM
#3
Thread Starter
Addicted Member
If I put 9 characters it seems to update it. I am having similiar problems with other issue related to this same issue. If I use the MoveNext and then MovePrevious, it works but I don't like the way it looks to the user.
-
Jun 12th, 2000, 10:07 PM
#4
Fanatic Member
would you be from donegal steve thomas??????????????????????
-
Jun 13th, 2000, 12:31 AM
#5
Thread Starter
Addicted Member
-
Jun 13th, 2000, 02:26 PM
#6
Guru
I suppose just put the maxlength of the textbox to 9, but that doesn't solve the ADO problem for you....sorry
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|