M
mmm_danone
I have a report which is generated from a simple select query, taking
data from 2 tables. If I open the report directly (from the
Objects/Reports list) it runs ok. But if I put a simple command button
on a form to run it...
DoCmd.OpenReport "RPT_labels", acViewPreview
....Access pauses for 5 seconds then crashes. No error messages, or
anything - it just closes down the whole application.
I've tried compact & repair, and also opened a new database and
imported all the items into it, but still get same result. I've
rebuilt the query, the report & command button but all still the same.
If anybody has any more ideas I can try, I'd be glad to hear them.
TIA,
Jon
data from 2 tables. If I open the report directly (from the
Objects/Reports list) it runs ok. But if I put a simple command button
on a form to run it...
DoCmd.OpenReport "RPT_labels", acViewPreview
....Access pauses for 5 seconds then crashes. No error messages, or
anything - it just closes down the whole application.
I've tried compact & repair, and also opened a new database and
imported all the items into it, but still get same result. I've
rebuilt the query, the report & command button but all still the same.
If anybody has any more ideas I can try, I'd be glad to hear them.
TIA,
Jon