kumar_perlaa
13 years agoContributor
Object does not support this property or method-JScript Run time Error Message
Hi There,
When I am invoking TimeToExpiries() method in below methods, I am getting below error message at method 2. All methods are in the same unit. as per c++ syntaxt it suppose to work,but it's not working. Please refer the screenshot also...
Code Snippet:
Method 1:
Function Method1()
{
TimeToExpiries() ;// This is working fine;
}
Method 2:
Function ModelIteration_Result_Table_Log ()
{
TimeToExpiries() ;// Getting Error Message here,see below screen shot.
}
TimeToExpiries()
{
// its returning object reference.
}
Error Message:
Object does not support this property or method.
Could you please help me out regarding this issue by giving sample code or taking one simple example and explain to me. Thank you.
When I am invoking TimeToExpiries() method in below methods, I am getting below error message at method 2. All methods are in the same unit. as per c++ syntaxt it suppose to work,but it's not working. Please refer the screenshot also...
Code Snippet:
Method 1:
Function Method1()
{
TimeToExpiries() ;// This is working fine;
}
Method 2:
Function ModelIteration_Result_Table_Log ()
{
TimeToExpiries() ;// Getting Error Message here,see below screen shot.
}
TimeToExpiries()
{
// its returning object reference.
}
Error Message:

Object does not support this property or method.
Could you please help me out regarding this issue by giving sample code or taking one simple example and explain to me. Thank you.