The following command is used is our application, where v1 is the variable containing the unique id.
cSQL = "SELECT * from tblAMC2_practice WHERE sql_d_pk=&v1"
SQLResult= SQLExec(hdlpline,cSQL)
The value of SQLResult is 1, whether records were found or not. How can I identify whether an insert or a update is needed from the set of records I am sending to the sql server.
Thank you
cSQL = "SELECT * from tblAMC2_practice WHERE sql_d_pk=&v1"
SQLResult= SQLExec(hdlpline,cSQL)
The value of SQLResult is 1, whether records were found or not. How can I identify whether an insert or a update is needed from the set of records I am sending to the sql server.
Thank you