S
Silvio
How can I concatenate the status bar to my progress bar? Rigt now the progres
bar runs and then displays the query results. In few words, the progress on
my form does not reflets the actual progress % like the one in the status
bar. I did read several comments in this forum on progress bar, however I
think I am missing out the main thing: how to link the progress bar to the
actual opreation time when run a query or a report that takes several second
to make the calculation and then display. Any idea?
Dim inti As Integer
Dim dblPct As Double
Me.txtPctComplete.Visible = True
Me.boxWhole.Visible = True
Me.boxPct.Visible = True
Do Until inti > 500
dblPct = inti / 500
Me.txtPctComplete = dblPct
Me.boxPct.Width = Me.boxWhole.Width * dblPct
DoEvents
inti = inti + 1
Loop
Me!frmReport.Form.Requery
Me.Caption = "Reports Menu"
bar runs and then displays the query results. In few words, the progress on
my form does not reflets the actual progress % like the one in the status
bar. I did read several comments in this forum on progress bar, however I
think I am missing out the main thing: how to link the progress bar to the
actual opreation time when run a query or a report that takes several second
to make the calculation and then display. Any idea?
Dim inti As Integer
Dim dblPct As Double
Me.txtPctComplete.Visible = True
Me.boxWhole.Visible = True
Me.boxPct.Visible = True
Do Until inti > 500
dblPct = inti / 500
Me.txtPctComplete = dblPct
Me.boxPct.Width = Me.boxWhole.Width * dblPct
DoEvents
inti = inti + 1
Loop
Me!frmReport.Form.Requery
Me.Caption = "Reports Menu"