DoCmd OpenQuery

James Pye

James
Local time
Today, 22:24
Joined
Jan 17, 2010
Messages
10
Hi,

The problem I have is that I need to open a query in datasheet view but in maximum window.

Currently I am using:

DoCmd.OpenQuery "name of query", acViewNormal, acEdit

This opens, but not in a maximum window. Is there a way to do this in VBA, or anything else in Access 03?
 
DoCmd.OpenQuery "qryYourQuery"
DoCmd.Maximize
 
That works great, thanks for your help.
 

Users who are viewing this thread

Back
Top Bottom