|
-
May 5th, 2005, 12:46 AM
#9
Re: Adding a progress bar while the flexgrid is populating
Are u using a server side cursor?? The code above will work only for client side cursors. For serverside cursors, the values of recordcount and absoluteposition are returned wrong.
Secondly, ain't these two statements the same (dglienna)?
ProgressBar1.Value = int(rsmain.AbsolutePosition * 100 / rsmain.RecordCount)
ProgressBar1.Value = int(rsmain.AbsolutePosition / rsmain.RecordCount) * 100
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
|