No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept Answer by mgfranz
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
GaryC123
EE Cleanup Volunteer
Main Topics
Browse All Topics





by: mgfranzPosted on 2003-01-08 at 10:45:37ID: 7687978
If you are using an ActiveX component already, why not use the default Progess Bar installed with VB?
All you have to do is .Hide the display the report is in and .Show the Progress Bar, here is what I did on a recent project;
MSFlexGrid1.Visible = False ' Substitute your CR for the flexgrid
lblNoRecords.Visible = False
' Show the Progress bar while we load the records, and hide the grid
' However if no records are found, show the error message
If lblNoRecords.Visible = True Then
prgProgress.Visible = False
MSFlexGrid1.Visible = False
Else
prgProgress.Visible = True
lblNoRecords.Visible = False
' Set the max for the progressBar
prgProgress.Max = m_rows