Bruce21
18th November 2004, 10:40
Hi everyone,
by executing the following statement:
#define S7 "tisfc0102m000" | Report Operations complete
string pdno(10)
string opno(10)
string err_msg(10)
pdno = "800815"
opno = "200"
stpapi.put.field(S7, "tisfc010.pdno", pdno)
stpapi.put.field(S7, "tisfc010.opno", opno)
retcode = stpapi.find(S7, err_msg)
I always get retcode 1, so no record have been found. By manually searching with these values, it will be found.
What I am making wrong?
Best regards,
Martin
by executing the following statement:
#define S7 "tisfc0102m000" | Report Operations complete
string pdno(10)
string opno(10)
string err_msg(10)
pdno = "800815"
opno = "200"
stpapi.put.field(S7, "tisfc010.pdno", pdno)
stpapi.put.field(S7, "tisfc010.opno", opno)
retcode = stpapi.find(S7, err_msg)
I always get retcode 1, so no record have been found. By manually searching with these values, it will be found.
What I am making wrong?
Best regards,
Martin