vb6 recordset.movelast无法正常工作 [英] vb6 recordset.movelast not working properly

查看:150
本文介绍了vb6 recordset.movelast无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,有人可以帮我解决我的问题.我在vb6中使用adodb创建了一个程序.问题是当我使用.movelast语句移动光标时,它不起作用.
例如我在自动编号中有一个orno字段,但是我删除了1到4,所以开始是5到44
5
.
.
.
44
当我使用movelast时,它最多只能读到39,最后一个数字是39,但它应该是44

感谢您的帮助.

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.

推荐答案

我认为您在找错东西.听起来好像您正在查看数组的上限,该值在39处正确,而不是数组最后一项中记录的ID.
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.


这篇关于vb6 recordset.movelast无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆