C
Carolyn Kay
Running a make-table query manually in an Access 2002 database returns 58
records. Running the same query from a Word 2002 macro using the code
below, returns only 18 records. The path is correct, and the code is
accessing the correct database.
Set aApp = New Access.Application
aApp.OpenCurrentDatabase thisPath & "Reports.mdb"
aApp.DoCmd.OpenQuery "ValuationDataQuery", , acReadOnly
The environment is an NT network with XP on the client machines. If I run
the query on my XP only machine, I get the same results from the query
whether I run it manually or use the above code.
I'm out of ideas. What can I try to fix the problem?
TIA, Carolyn Kay
records. Running the same query from a Word 2002 macro using the code
below, returns only 18 records. The path is correct, and the code is
accessing the correct database.
Set aApp = New Access.Application
aApp.OpenCurrentDatabase thisPath & "Reports.mdb"
aApp.DoCmd.OpenQuery "ValuationDataQuery", , acReadOnly
The environment is an NT network with XP on the client machines. If I run
the query on my XP only machine, I get the same results from the query
whether I run it manually or use the above code.
I'm out of ideas. What can I try to fix the problem?
TIA, Carolyn Kay