Error handling using if else condition.
web_reg_find("Search=All",
"Text/IC=Home Page",
"SaveCount=home_count",
LAST);
//then after login block paste this code:
if (atoi(lr_eval_string("{home_count}")) > 0)
{
lr_output_message("Log on Successful");
}
else
{
lr_output_message("Log on failed for the Login ID: %s", lr_eval_string("{pUserName}"));
lr_exit( LR_EXIT_ACTION_AND_CONTINUE,LR_FAIL );
}
Thanks for sharing,this blog makes me to learn new thinks.
ReplyDeleteinteresting to read and understand.keep updating it.
call girls in dehradun
escort service in dehradun
Thanks for sharing,this blog makes me to learn new thinks.
ReplyDeleteinteresting to read and understand.keep updating it.
call girls in ghaziabad
escort service in ghaziabad
Can we use some kinds of extension that could tell us about errors before the execution of programming code? I would be grateful if you could tell me about this because I don't wanna see any error in my code. TheAcademicPapers.co.uk
ReplyDelete