M
markmarko
We've got a frmSalesOrder form. It has 4 tab page, and a couple of the tab
pages have 2-4 subforms.
The onCurrent procedure, among other things, checks certain pieces of data
and based on the data, enables/disables or visibles/invisibles various
controls as appropriate. For example, if the Sales Order record already has a
matching Install Order, the btnCreateMatchingInstallOrder button will be
disabled.
The problem (annoyance?) is that when the user goes to a new record, the
form will immediately show the new data, then a second or two passes while it
processes the VBA, and then basically repaints the form (ie it flickers
once).
I'm sure I can streamline the code in the future, but even then it will take
a moment to run.
Is there any way to make it show new records faster? Or at least eliminate
the draw, wait, redraw thing? I think it confuses my users.
I've tried application.echo false (and docmd.echo (false)) at the beginning
of the oncurrent procedure, but it doesn't seem to matter.
Any advice would be appreciated!
pages have 2-4 subforms.
The onCurrent procedure, among other things, checks certain pieces of data
and based on the data, enables/disables or visibles/invisibles various
controls as appropriate. For example, if the Sales Order record already has a
matching Install Order, the btnCreateMatchingInstallOrder button will be
disabled.
The problem (annoyance?) is that when the user goes to a new record, the
form will immediately show the new data, then a second or two passes while it
processes the VBA, and then basically repaints the form (ie it flickers
once).
I'm sure I can streamline the code in the future, but even then it will take
a moment to run.
Is there any way to make it show new records faster? Or at least eliminate
the draw, wait, redraw thing? I think it confuses my users.
I've tried application.echo false (and docmd.echo (false)) at the beginning
of the oncurrent procedure, but it doesn't seem to matter.
Any advice would be appreciated!