Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wrong number of arguments or invalid property assignment error

Status
Not open for further replies.

dom24

Programmer
Aug 5, 2004
218
GB
Does anyone know what this error message means?

I have 2 include files in my page and all I want to do is show one depending on the value in the querystring.
This is my code:.

<%If request.querystring("Delivery") = "ELearning" then
ShowformELCourse false
Else
ShowformCourse false
End if
%>

Thanks.
 
Do something like this:

<%SELECT CASE
CASE 1 %>
<!--#include virtual="whatever1.asp"-->
CASE 2 %>
<!--#include virtual="whatever2.asp"-->
CASE 3 %>
<!--#include virtual="whatever3.asp"-->
<%END SELECT%>


-L
 
You have no assignment character, that is, "=". This
Code:
ShowformELCourse false
should be this
Code:
ShowformELCourse [COLOR=blue]=[/color] false
Also, you probably want one of them to = true, I'd think.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top