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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select statement error... 4

Status
Not open for further replies.

rjn2001

Programmer
Joined
Dec 29, 2004
Messages
172
Location
GB
Got a little something wrong with my SQL statement:
Code:
Microsoft VBScript compilation error '800a03fd' 

Expected 'Case' 

/viewjob.asp, line 10 

SELECT * FROM tblJob Where UserID = "' &UserID& '"
-------^
Code:
SELECT * FROM tblJob Where UserID = "' &UserID& '"



Richard Noon
 
Hi Tony -

There is nothing in the source at all, just the security stuff -

Code:
<!-- ********************************** SECURITY HEADER START, Put in any Private Page ******************************** -->
<!-- ********************************** SECURITY HEADER ENDS, Put in any Private Page ******************************** -->

Richard Noon
 
took out the response.write

I am trying from fresh, obviously something major as messed it all up!, so i will make it again, and get back to you all.

Thanks for the assistance so far.

Richard Noon
 
Hi, thanks to you all for your help, the fault was being caused by the VB script in the page, some of it was conflicting and causing the errors.

Thanks to you all.

Cheers

Richard Noon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top