Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable Not Found - Can't Debug
Message
From
10/03/2000 12:38:38
 
 
To
10/03/2000 10:14:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00340839
Message ID:
00344296
Views:
33
>S-O-R-T-E-D!!
>
>Sort of -
>
>in that I've fixed the problem but I still don't understand why it was a problem or why it exhibited the particular symptoms that it did.
>
>TARGFILE=(PROGPATH)+'QUERIES\ACCFIL'+PADL(NUMUSED,2,'0')
>
>That, comrades, is the line responsible for all the fuss.
>
>whereas...
>
>TARGFILE=(PROGPATH)+'QUERIES\ACCFILT'
>
>works perfectly...
>
>TARGFILE is used later to create the SQL selection statement and if the PADL expression is included it goes berserk as advertised -
>despite creating the file with the desired filename and allowing full access to the resultant query...
>
>File under 'VFP Poltergeist'?
>or has anyone got a rational explanation?
>
>In the meantime - many thanks to those of you who tried to help and especially to you Eric, for not letting me give up!
>
>Harry

Since the PADL() chokes it up on you, does this work OK?

TRANSFORM(numused,"@L ##")
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform