Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: (Orginally No Subject)

date posted 1st November 2003 10:18

Hi,
Sorry - I had realised that I had got two single quotes in that example.
I had already tried with one quote either side and got the same problem. It
seems to be something to do with single quotes. I am changing it to a post
anyway but I just curious as to why.

Pam


----- Original Message -----
From: "Alan Sheppard" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Friday, October 31, 2003 11:52 PM
Subject: RE: FN-FORUM: (Orginally No Subject)


>
> Pam
>
> I think the problem lies with the %27%27chgtest240903.....
>
> The %27%27 is TWO single quotes NOT a Double Quote - are you sure this is
> what you want to send as this combination can have special meanings
> depending on what is evaluating it.
>
> If it's tageting SQL then it should just be AgentCode='chqtest240903'
which
> url encoded becomes:
>
> Agentcode%3d%27chqtest240903%27
>
> HTH
>
> Alan S
>
> On 31 October 2003 21:37, PAMELA WHITTAKER [EMAIL REMOVED]
> wrote:
> >
> > Hi,
> > Can any one see what is wrong with this please
> >
> > I have the following in the address line
> >
> >
> http://www.insurance4brokers.co.uk/orderview/search_main.asp?strsql=set+
> dateformat+dmy%3BSelect+%2A+from+%5BOrder%5D+where+AgentCode%3D%27%27chg
> test240903%27%27+order+by+CONVERT%28DateTime%2CIssue%5FDate%29
> >
> >
> > When I do a response.write on strsql I only get the following instead of
> the
> > full string : -
> > set dateformat dmy;Select * from [Order] where AgentCode=
> >
> >
> > This is causing the following error :-
> >
> > Microsoft OLE DB Provider for SQL Server error '80040e14'
> >
> > Line 1: Incorrect syntax near '='
> > orderview/search_details.asp line 27
> >
> > Why is strsql finishing after the "=" and doesn't contain the full query
> > string that is being passed..
> >
> > Thanks
> > Pam
> >
> >
> > ==========
> > redmail.com - webmail with a difference!
> > 10Mb for just GBP 9.99 a year. Launch special 1Gb for GBP 99.99 a year
> > IMAP, POP3, Spam Filtering and Anti Virus as standard.
> > Visit http://www.redmail.com/?fl-signup to join.
> >
> > To advertise here: http://www.freelancers.net/advertising.html
> >
> >
> ==========
> redmail.com - webmail with a difference!
> 10Mb for just GBP 9.99 a year. Launch special 1Gb for GBP 99.99 a year
> IMAP, POP3, Spam Filtering and Anti Virus as standard.
> Visit http://www.redmail.com/?fl-signup to join.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>



Messages by Day
November 30th 2003
November 29th 2003
November 28th 2003
November 27th 2003
November 26th 2003
November 25th 2003
November 24th 2003
November 23rd 2003
November 22nd 2003
November 21st 2003
November 20th 2003
November 19th 2003
November 18th 2003
November 17th 2003
November 16th 2003
November 15th 2003
November 14th 2003
November 13th 2003
November 12th 2003
November 11th 2003
November 10th 2003
November 9th 2003
November 8th 2003
November 7th 2003
November 6th 2003
November 5th 2003
November 4th 2003
November 3rd 2003
November 2nd 2003
November 1st 2003


Messages by Month
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000