S
scorpion53061
sql2 = "SELECT custno, DATEOR, ORDERNO, LN, custpo, ITEMNO, QTY, PRICE, UM,
totprice, QTYALL, QTYBACK, SLSMNO, INIT FROM jjk044 where custno = '" &
custno & "' and " + OpenType + " order by " + sortterm + ""
For a local application I occasionally but not always get the below error
with this SQL statement.
System.Data.SqlClient.SqlException Incorrect Syntax near 'by' at
system.data.sqlclient.sqlcommand.executereader
totprice, QTYALL, QTYBACK, SLSMNO, INIT FROM jjk044 where custno = '" &
custno & "' and " + OpenType + " order by " + sortterm + ""
For a local application I occasionally but not always get the below error
with this SQL statement.
System.Data.SqlClient.SqlException Incorrect Syntax near 'by' at
system.data.sqlclient.sqlcommand.executereader