Link to home
Start Free TrialLog in
Avatar of SuperSnooper
SuperSnooper

asked on

VB to Open a Query in an Evcent Proceedure

I need to open an query in table form from an event proceedure on a form.  The query needs to be in the table form as if opened by double clicking the query name in the db window.
ASKER CERTIFIED SOLUTION
Avatar of shanesuebsahakarn
shanesuebsahakarn
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Si Ball
as shane says above.. but tere are lots of other options you can tie in at the end... the mode the table opens in, and the edit mode for the data....

you want the user to see a table but not edit its data?:

DoCmd.OpenQuery "myname", acViewNormal, acReadOnly