A really simple one I'm sure......
I have code which opens form in form view, then changes recordsource and displays results.
All I want to do is switch view mode to print preview after changing the recordsource.
If I open form in preview mode (using docmd.openform formname, acpreview), then I can't switch recordsource.
Can I switch view by docmd.domenuitem method?
I have code which opens form in form view, then changes recordsource and displays results.
All I want to do is switch view mode to print preview after changing the recordsource.
If I open form in preview mode (using docmd.openform formname, acpreview), then I can't switch recordsource.
Can I switch view by docmd.domenuitem method?