-
January 21st, 2002, 08:48 PM
#1
Runtime Error 6148 Invalid Row Number
when run a database application whick uses datagrid control(vb6.0,service pack5),following code cann't run correctly,tell a error:6148 invalid row number.
the code:
[vbcode]
for i=0 to datagrid.approxcount-1
datagrid1.row=i
.......
next i
[\vbcode]
but if datagrid.approxcount<datagrid.visiblerows
that mean not scrolling the datagrid,the code run
correctly.why?and how to solve this problem?
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
|