Icon View Thread

The following is the text of the current message along with any replies.
Messages 31 to 35 of 35 total
Thread Strange #700 error because of where clause
Fri, Aug 12 2011 9:12 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Michael


The offer still stands, if you can let me have enough to try it I'll see if I can figure out what's going on.

Roy Lambert
Fri, Aug 12 2011 10:25 AMPermanent Link

John Hay


> I don't know anything about FR, but you can use a simple test to prove what
> I'm saying - just pop a query into the EDB Manager that references a valid
> table with a correlation name, but then references an invalid column name
> using the table correlation name, like this:
>
> SELECT * FROM customer c
> WHERE c.customerno=1000
>
> (customerno doesn't exist)
>
> Then check out the error message - EDB does not add double-quotes around the
> column name in the error message, therefore the double-quotes are not being
> added in the error message, and they're certainly not there in the original
> query.

Change this to the following and you do get double quotes.  As the report previews fine after the error a wild guess
would be that the error is a result of somehow inadvertantly running a faulty query.

SELECT * FROM customer c
WHERE s.customerno=1000

John

Fri, Aug 12 2011 10:40 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

John


>Change this to the following and you do get double quotes. As the report previews fine after the error a wild guess
>would be that the error is a result of somehow inadvertantly running a faulty query.
>
>SELECT * FROM customer c
>WHERE s.customerno=1000

Fascinating Moriarty. So if Michael did a cut'n'paste on the query in his original post we're looking for something that looks like an S but isn't an S.

You've done a lot better than I have. I couldn't find a way to replicate the error.

Now all you have to do is explain how the report still displays properly after the error Smileyor do you think there are two queries being run. Duff one first and good one second?

Roy Lambert [Team Elevate]
Fri, Aug 12 2011 10:51 AMPermanent Link

John Hay

Roy

> Fascinating Moriarty.

Smiley

>
>  Duff one first and good one second?

That was my guess.

John

Mon, Aug 15 2011 4:14 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

John,

<< Change this to the following and you do get double quotes.  As the report
previews fine after the error a wild guess would be that the error is a
result of somehow inadvertantly running a faulty query. >>

Bingo, that's it.  So, it's definitely a case where the wrong table
correlation name is being used.

--
Tim Young
Elevate Software
www.elevatesoft.com
« Previous PagePage 4 of 4
Jump to Page:  1 2 3 4
Image