Microsoft
Software
Hardware
Network
Question : VBA SQL sysntax
This is my query:
sql = "SELECT STOCK.stCode, STOCK.stDescLine1, STOCK.stBarCode, Trim([stCode]) AS BC FROM Exchequer.BGCI02.STOCK STOCK "
sql = sql & "WHERE STOCK.BC = '" & ActiveCell & "'"
The StBarcode fiels has trailing spaces so I need to trim it but Excel returns "Trim is not a built in funtion"
Does anyone know how to acheive this?
Answer : VBA SQL sysntax
try
sql = "SELECT STOCK.stCode, STOCK.stDescLine1, STOCK.stBarCode, RTrim(LTrim([stCode])) AS BC FROM Exchequer.BGCI02.STOCK STOCK "
sql = sql & "WHERE STOCK.BC = '" & ActiveCell & "'"
Random Solutions
E72 - How to make email work without activating data services?
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
Please help me come up with a specific Linux hard drive imaging process
Somebody knows about this error: delphi Internal Error BC2241 ?
file share
I want to make Liberty reserve API
can't transfare only on zone (on-authoritative answer )
Import vs. link
Access cascading combo boxes
import product catalog from iceCat to VirtualMart