Re: Breaking Long Query into multiple statements ?
- From: "TonySper" <tsperduti@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 May 2005 14:15:58 -0400
Bernard,
Did you use those in the scan as example.
Scan for &var1 &var2 &var3
I tried joining them like
var4 = var1+var2+var3
and then
scan for &var4
Did not work.
TonySper
"Bernhard Sander" <fuchs@xxxxxxxxxxxxxx> wrote in message
news:%23jGg8oPZFHA.3908@xxxxxxxxxxxxxxxxxxxxxxx
Hi Tony
> That does not work. I had to revert back to a IF ENDIF in my scan as
> I
> wanted to scan for 20 fields and the Scan For would not let me put
> together anything that added up to more than 250 characters even
> trying to add two variables would not do it..
In older version of foxpro (FPD 2.5 ;-) ) i also had this kind of
problem. I
could resolve it with more than one macro variable like this:
var1="scan ..."
var2=" for ..."
var3=" .and. ..."
each varN not longer than about 250 characters,
and finally:
&var1.&var2.&var3
(the dots are not necessary, only for better reading)
With newer versions of foxpro this limit may have change, but I didn't
test it.
Regards
Bernhard Sander
.
- Follow-Ups:
- Re: Breaking Long Query into multiple statements ?
- From: Bernhard Sander
- Re: Breaking Long Query into multiple statements ?
- References:
- Breaking Long Query into multiple statements ?
- From: Luqman
- Re: Breaking Long Query into multiple statements ?
- From: Andrew Howell
- Re: Breaking Long Query into multiple statements ?
- From: Ook
- Re: Breaking Long Query into multiple statements ?
- From: Mike McDowall
- Re: Breaking Long Query into multiple statements ?
- From: TonySper
- Re: Breaking Long Query into multiple statements ?
- From: Bernhard Sander
- Breaking Long Query into multiple statements ?
- Prev by Date: Re: odd paper size
- Next by Date: Re: odd paper size
- Previous by thread: Re: Breaking Long Query into multiple statements ?
- Next by thread: Re: Breaking Long Query into multiple statements ?
- Index(es):
Relevant Pages
|