> They are seeing the results in the Datasheet view.

Signature
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
DoCmd.SetWarnings False
stDocName = "JantoDec"
DoCmd.OpenQuery stDocName, acViewNormal, acReadOnly
stDocName2 = "CurrentPeriod"
DoCmd.OpenQuery stDocName2, acViewNormal, acReadOnly
stDocName3 = "OneThruPriorPeriod"
DoCmd.OpenQuery stDocName3, acViewNormal, acReadOnly
stDocName4 = "ContractChanges"
DoCmd.OpenQuery stDocName4, acViewNormal, acReadOnly
> > They are seeing the results in the Datasheet view.
>
> Actions queries are executed. There is no reason to "open" them in datasheet
> view to get them to work.
>
> What does your button code look like?
Duane Hookom - 22 Nov 2005 22:57 GMT
Are these queries Action or Select queries? Maybe you could provide the SQL
view of one or more of these.

Signature
Duane Hookom
MS Access MVP
--
> DoCmd.SetWarnings False
>
[quoted text clipped - 17 lines]
>>
>> What does your button code look like?
Gina Whipp - 23 Nov 2005 15:38 GMT
Try:
DoCmd.SetWarnings False
DoCmd.OpenQuery "JantoDec"
DoCmd.OpenQuery "CurrentPeriod"
DoCmd.OpenQuery "OneThruPriorPeriod"
DoCmd.OpenQuery "ContractChanges"
DoCmd.SetWarnings True
Queries SHOULD run in the background without opening...
> DoCmd.SetWarnings False
>
[quoted text clipped - 17 lines]
>>
>> What does your button code look like?