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
Documentation on SAMBA and Active Directory Integration
Poweshell Exchange 2010 Remove-Mailbox Permission denied
Router Sessions
resolution in control panel
Send Mail via Google Apps
Network Range of IPs and what is available.
Is there anyway to reserve some resources in windows server so that RDC will still work in the event network/cpu is exhausted?
Remove header from array created using Get-QADComputer cmdlet?
100% CPU usage in vCenter but not in taskmanager on the Windows NT 4.0 VM that has been converted
asp - The resource could not be found