Property after acViewPreview

  • Thread starter Thread starter Maarkr
  • Start date Start date
M

Maarkr

I have a menu form where the user clicks the report button, then a cbobox
filter becomes visible on the form that they select to preview the report.
The cbobox is not visible until the report button is clicked... but how can I
make the cbobox not visible after the report is previewed?
In the cbobox_afterUpdate sub I added 'cbobox.visible=false' after the
DoCmd...acViewPreview line, but that started a loop crash because the 'object
can't receive the focus.' I could go thru every object on the form and have
the cbobox.visible=false property for the onfocus or onclick event, but I'm
sure there's an easier way. thnks
 
Back
Top