Word code

Sergio

Registered User.
Local time
Today, 05:01
Joined
Feb 28, 2002
Messages
45
1773119034276.png

I have the above code to insert an access quey in a word document, but the IdCliente filter doesn´t work. I nedd too SELECT only few fields from the query GarantCont'
 
What happens if you remove the where clause? The sql structure doesn’t look right to me but perhaps it is valid when constructed in word?
 
I suspect that the quoting is wrong in the SQL because the WHERE clause appears to be outside of the SELECT.
 
What happens if you remove the where clause? The sql structure doesn’t look right to me but perhaps it is valid when constructed in word?
If I remove or not "where" clause the table appears with all the registers
 
Have you tried standard concatenation and just the required fields instead of * ?
 

Users who are viewing this thread

Back
Top Bottom