10-01-2010, 02:51 PM
Hi,
I am calling an external action in two different scripts.Both scripts are using their seprate datatables.
In the external action at one point I am using a variable which value is coming from datatable.( Specific to Script)
So I have to use two different statement to get the value. Now while executing any of these script one statement will be corrent & one will be wrong. So I have to use "On Error Resume Next".
I want to use "On Error Resume Next" only for these 2 lines not more than that.....
Please let me know how to do that.
I am calling an external action in two different scripts.Both scripts are using their seprate datatables.
In the external action at one point I am using a variable which value is coming from datatable.( Specific to Script)
So I have to use two different statement to get the value. Now while executing any of these script one statement will be corrent & one will be wrong. So I have to use "On Error Resume Next".
Code:
On Error Resume Next
intCheckType= DataTable.Value("pCheckType","rSelectDrug [epCSubREFREQ]")
intCheckType= DataTable.Value("pCheckType","rSel1Drug [epCSubREFREQ]")
I want to use "On Error Resume Next" only for these 2 lines not more than that.....
Please let me know how to do that.