怎么使检测到mismatch就认为事务失败~
同题 加入一个判断就行了if web_reg_find("Search=Noresource",
"Text={UserName}Sign",
"SaveCount=InsideFile_Count",
LAST);
if (atoi(lr_eval_string("{InsideFile_Count}")) > 0)
lr_end_transaction("公文签收", LR_PASS);
else
{
lr_end_transaction("公文签收", LR_FAIL);
lr_error_message("Fail Username: %s and InsidefileId: %s", lr_eval_string("{UserName}"), lr_eval_string("{InsideFileId}"));
}
页:
[1]