Hi there.
None of my books describes how to "breake" a SQL statement which is more than 255 char. long??
Following statement gives me some trouble...:
Sum(IIf([divisa]="PTS",([Importe Neto]/[Cambio]),[Importe Neto])) AS FactSin
I've tried with #, &, ', and a lot of other char but I can't find a way so VBA don't think "PTS" is the end of the strSQL :-(
Any ideas???
Best regards
Soren
None of my books describes how to "breake" a SQL statement which is more than 255 char. long??
Following statement gives me some trouble...:
Sum(IIf([divisa]="PTS",([Importe Neto]/[Cambio]),[Importe Neto])) AS FactSin
I've tried with #, &, ', and a lot of other char but I can't find a way so VBA don't think "PTS" is the end of the strSQL :-(
Any ideas???
Best regards
Soren