>lcText = "One" >lcText1 = "Two" > >strSQL = "Insert into tblTest(cText1, cText2) Values( " >strSQL = strSQL + "'" + (lcText) + "', " >strSQL = strSQL + "'" + (lcText1) + "'" + ")" >lcSuccess = SQLEXEC(gnSQLSwitchParsingConn,strSQL)>Now, I want to do the same thing with datetime and numeric fields. How would I handle inserting records with those data types using SQLEXEC?
... strSQL = strSQL + Transform(lnNumber) + ", " strSQL = strSQL + "'" + DTOC(ldDate) + "', " strSQL = strSQL + "'" + TTOC(ltDatetime) + "', " ...