Click here to Skip to main content
15,919,358 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hello can anyone help me about my problem. i created a program using adodb in vb6. the problem is when i move the cursor using the .movelast statement it doesnt work.
for example i have a field orno in autonumber but i deleted 1 to 4 so the start is 5 to 44
5
.
.
.
44
when i used movelast it only read upto 39 to the last number is 39 but it should be 44

thanks for the help.
Posted

1 solution

I think you're looking at the wrong thing. It sounds like you're looking at the upper bound of an array, which would be correct at 39 and not the ID of the record in the last item of the array.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900