S Sergio Registered User. Local time Today, 06:34 Joined Feb 28, 2002 Messages 45 Tuesday at 5:06 AM #1 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'
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'
C CJ_London Super Moderator Staff member Local time Today, 06:34 Joined Feb 19, 2013 Messages 17,815 Tuesday at 11:18 AM #2 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?
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?
The_Doc_Man Immoderate Moderator Staff member Local time Today, 01:34 Joined Feb 28, 2001 Messages 30,864 Tuesday at 1:43 PM #3 I suspect that the quoting is wrong in the SQL because the WHERE clause appears to be outside of the SELECT.
I suspect that the quoting is wrong in the SQL because the WHERE clause appears to be outside of the SELECT.
S Sergio Registered User. Local time Today, 06:34 Joined Feb 28, 2002 Messages 45 Tuesday at 2:18 PM #4 CJ_London said: 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? Click to expand... If I remove or not "where" clause the table appears with all the registers
CJ_London said: 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? Click to expand... If I remove or not "where" clause the table appears with all the registers
Gasman Enthusiastic Amateur Local time Today, 06:34 Joined Sep 21, 2011 Messages 17,531 Tuesday at 2:41 PM #5 Have you tried standard concatenation and just the required fields instead of * ?
S Sergio Registered User. Local time Today, 06:34 Joined Feb 28, 2002 Messages 45 Tuesday at 3:32 PM #6 The_Doc_Man said: I suspect that the quoting is wrong in the SQL because the WHERE clause appears to be outside of the SELECT. Click to expand... I found the right code, tks
The_Doc_Man said: I suspect that the quoting is wrong in the SQL because the WHERE clause appears to be outside of the SELECT. Click to expand... I found the right code, tks
Gasman Enthusiastic Amateur Local time Today, 06:34 Joined Sep 21, 2011 Messages 17,531 Tuesday at 4:05 PM #7 So good, it had to be posted three times?