To : is supoted but not in the way written here (i.e. For i = 1 to 10)
Does that SELECT CASE TRUE work ??? hmmm ok
would rather do :
Code:
dim blValue as boolean=TRUE
blValue=myTxt.Visible
SELECT CASE blValue
CASE TRUE
CASE FALSE
(as im writing it down seem logical that it would work.)
but isn't the case allway true then ???
True = true, why would u then have a select case
SQL : Be sure to put a space befor you start a new line i.e.
Code:
slSql= "SELECT ID, Name,WHATEVER" & _
" , Age ,Sex" & _
" , Street, No AS [House number] ,Postalcode"& _
" FROM MyTable" & _
" INNER JOIN OTHER TABLE ON MyTable.ID=OTHER.ID" & _
" WHERE ID < " & MyInputParameter & _
" ORDER BY NAME"
EDIT : ok, Georgev was right as usual ;-) (was missing an quote and linecontinuation )
This way you never have to do a "difficult" left/right to see if there is a space at the end
Break the line on each Function