Strange Ben!
Yes the 4 quotse is the right construction.
But what caused the change - don't know!
David Blocker
[EMAIL PROTECTED]
781-784-1919
Fax: 781-784-1860
Cell: 339-206-0261
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 30, 2004 1:15 PM
Subject: [RBASE-L] - Quote wierdness
> I thought maybe someone could explain this to me.
>
> I had this statement in an app:
>
> SET V zdb = (''+CVAL('dbpath')+'') -- Those are two sets of two
> single quotes.
>
> Which has worked fine for 90 odd days on a customer's system and mine
> during testing. The customer had some computer work done, there was a
> system error relative to printing, and afterwards the statement above
> failed... it also failed on my computer when I downloaded a copy of
> their DB.
>
> If I connect to an old copy of their database the statement above
> works fine.
>
> The character settings are identical in both versions.
>
>
> Changing the statement to:
>
> SET V zdb = (''''+CVAL('dbpath')+'''') -- that's two sets of of
> four single quotes
>
> solved the problem.
>
> I _think_ using four single quotes is correct, and my original
> construct was wrong.
>
> But:
> 1) Why did it the original work?
> 2) How can two different versions of the same database behave
> differently in this regard? In other words, what could have changed
> in the database when, apparently, there was a Windoze printer
> definition problem that caused the change in behaviour?
>
> Thanks,
>
> Ben Petersen
>
>