Hello,
I have a function which should return a value and i have to get the returned value from the above function and i have to pass the value to another function.
PFB the sample code skeleton,
1. Public Function fncActivateContract_CaptureContractNo()
' Few code here
End Function
2. Public Function fnc_T1_ContingentValidation(strNoOfServices,contractNumber)
' Few code here
End Function
Below is the action,
Dim contactNumber
contactNumber = call fncActivateContract_CaptureContractNo()
Call fnc_T1_ContingentValidation(strNoOfServices,contactNumber)
Here i am getting two errors.
1. If the control comes here "contactNumber = call fncActivateContract_CaptureContractNo()", then i am getting "Syntax error".
2. If the control comes here "Call fnc_T1_ContingentValidation(strNoOfServices,contactNumber)", then i am getting "Type Mismatch" error.
Can anyone please help me out?.
Thanks in advance.
Thank you,
Imran.