View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Alvin Hansen[_2_] Alvin Hansen[_2_] is offline
external usenet poster
 
Posts: 209
Default SQL statement in vba

Hi
I have found out why just forget [] around country

Alvin


"Alvin Hansen" skrev:

Hi

I sahll use a variable in my statement like
where [country] like 'usa'
but insted of USA i shall use a variable have try wit &
but can't get it to work.

Hope some one can help

Regards alvin