Click here to Skip to main content
15,917,177 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
return ("SELECT [Status] as Position Open);

Error3 newline in constant.

& what error is this?

Error2 Type or namespace definition, or end-of-file expected
Posted
Updated 21-Feb-11 0:23am
v2

What you want to return?
I can see a missing " mark at first.
return ("SELECT [Status] as Position Open");

and what do you mean by "SELECT [Status] as Position Open"
 
Share this answer
 
v2
Comments
fjdiewornncalwe 21-Feb-11 8:39am    
Looks like someone is writing an exam. If he was using Studio, it would be very obvious via the syntax highlighting. (+5)
Have you tried adding a closing quote mark?

return ("SELECT [Status] as Position Open");
 
Share this answer
 
Comments
Member 7673456 21-Feb-11 6:27am    
yup silly mistake... thankx
[no name] 21-Feb-11 6:28am    
Good Call.My 5 too.
fjdiewornncalwe 21-Feb-11 8:38am    
Looks like someone is writing an exam. If he was using Studio, it would be very obvious via the syntax highlighting. (+5)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900