Hi,
I have a form which loads containg a sub form based on a query. The query is definded in a previous form by the user who selects options from a list box. I've got the query defs VBA sorted and all works fine. However, the form that loads showing the sub form which displays the query results can vary in the lentgh of time it takes to run. So what I wanted to do was open a form to show a progress bar.
i.e.
FrmDataFieldSelection opens, user selects fields to display and clicks a 'View Data'.
'View Data' is a label which runs code to define the query defs and then opens FrmQueryResults which contains sub form linked to qryDataAppend.
Whilst FrmQueryResults is running qryDataAppend, I would like FrmProgressBar to open and display the progress of the query. and then close once the FrmQueryResults has opened.
If this isn't possible, maybe the FrmQueryResults could open with a blank subform, then qryDataAppend could run in the background then once complete Sub Form is updated with results of qryDataAppend???
Any help would be appreciated.
Thanks
I have a form which loads containg a sub form based on a query. The query is definded in a previous form by the user who selects options from a list box. I've got the query defs VBA sorted and all works fine. However, the form that loads showing the sub form which displays the query results can vary in the lentgh of time it takes to run. So what I wanted to do was open a form to show a progress bar.
i.e.
FrmDataFieldSelection opens, user selects fields to display and clicks a 'View Data'.
'View Data' is a label which runs code to define the query defs and then opens FrmQueryResults which contains sub form linked to qryDataAppend.
Whilst FrmQueryResults is running qryDataAppend, I would like FrmProgressBar to open and display the progress of the query. and then close once the FrmQueryResults has opened.
If this isn't possible, maybe the FrmQueryResults could open with a blank subform, then qryDataAppend could run in the background then once complete Sub Form is updated with results of qryDataAppend???
Any help would be appreciated.
Thanks