Hi there
I have been trying hard to create a progress bar for a make-table query. Unfortunately, it is not working yet (progress bar appears but does not show the progress, however, the Microsoft Access status bar down the screen shows the progress of the make-table query).
Here is the current code I have.
________________________________
Private Sub ZuLieferant_Click()
Response = MsgBox("This may take some time." _
& Chr(10) & Chr(13) & "Push OK to continue, and Cancel to quit", 1)
If Response = 1 Then
DoCmd.Hourglass True
call acbInitMeter("Report Lieferant", true)
DoCmd.SetWarnings False
DoCmd.Hourglass False
DoCmd.OpenQuery ("Mktblqry_BasisFürLieferant"
DoCmd.SetWarnings True
DoCmd.OpenReport "Lieferant", acPreview
Reports("Lieferant".ZoomControl = 50 ' 50%
End If
End Sub
________________________________
The line "call acbInitMeter("Report Lieferant", true)" calls the progress bar which I created based on the following web-page:
I appreciate your help. Thanks you so much.
regards,
Stefan
I have been trying hard to create a progress bar for a make-table query. Unfortunately, it is not working yet (progress bar appears but does not show the progress, however, the Microsoft Access status bar down the screen shows the progress of the make-table query).
Here is the current code I have.
________________________________
Private Sub ZuLieferant_Click()
Response = MsgBox("This may take some time." _
& Chr(10) & Chr(13) & "Push OK to continue, and Cancel to quit", 1)
If Response = 1 Then
DoCmd.Hourglass True
call acbInitMeter("Report Lieferant", true)
DoCmd.SetWarnings False
DoCmd.Hourglass False
DoCmd.OpenQuery ("Mktblqry_BasisFürLieferant"
DoCmd.SetWarnings True
DoCmd.OpenReport "Lieferant", acPreview
Reports("Lieferant".ZoomControl = 50 ' 50%
End If
End Sub
________________________________
The line "call acbInitMeter("Report Lieferant", true)" calls the progress bar which I created based on the following web-page:
I appreciate your help. Thanks you so much.
regards,
Stefan