Sel colnm1, &vID into var1, var2 from TableNm whe ID = .vID
I had no joy until I expanded both the Sel and the whe to Select and Wher
and set the ampersand variable to a dotted variable.
Select colnm1, .vID into var1, var2 from TableNm wher ID = .vID
----- Original Message -----
From: "Ben Petersen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 13, 2001 2:36 AM
Subject: & Syntax
> Hi all,
>
> I developed an app under RBW6.1a that includes this select:
>
> Sel colnm1, &vID into var1, var2 from TableNm whe ID = .vID
>
> under 6.1a this is fine, under 6.5+ I get:
> "An expression cannot begin with a binary operator", refering to
> &vID.
>
> Has anyone else noticed this?
>
> Thanks,
>
> Ben Petersen
>
>
>
>