Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Type Mismatch problem with call to VBscript function
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Type Mismatch problem with call to VBscript function
Miscellaneous
Thread ID:
00833281
Message ID:
00833281
Views:
60
I was wondering if anyone could help me resolve this error message.

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'MyTest'
/rick/omnia_act_initializations.inc, line 60

here's the section of /rick/omnia_act_initializations.inc
<%
IF (myCurrent_Record = Session("Unique_ID")) THEN 
	response.write("about to call MyTest")
	IF MyTest("CONTACTS") THEN 
	ELSE
	END IF
ELSE
END IF
  
Line 60 is, of course,
IF MyTest("CONTACTS") THEN



The MyTest function is defined as
<SCRIPT LANGUAGE="vbscript">
	Function MyTest(cTable)
		Dim lReturnValue
		lReturnValue = TRUE
		
		MyTest = lReturnValue
	End Function
</SCRIPT>
Can anyone could help me resolve this error message?

TIA,
Rick
Next
Reply
Map
View

Click here to load this message in the networking platform