Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro telling me porky pies again
Message
From
27/01/2005 12:37:25
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00981259
Message ID:
00981275
Views:
29
I'd guess that ZONE is coming from a table other than the one you think.

Better result naming the alias... STR(tbla.ZONE, 4)?

good luck


>Hi chaps
>
>I have the following code
>
>
>lcSeekKey	 = thisform.cRoute + thisform.cGen + thisform.cDirectn + "1 " + STR( ZONE, 4)
>
>where thisform.cRoute = "1 "
> thisform.cGen = "A"
> thisform.cDirectn = "O" and
> ZONE = 3, (table field) so:
> STR( ZONE, 4) = " 3"
>
>(all verified in debugger - watch)
>
>So how come cSeeKey ends up as: "1 AO1 132"? Where the blithering hell does "132" come from?
>So my subsequent SEEK() fails.
>
>Yours bemusedly
>
>Terry
Previous
Reply
Map
View

Click here to load this message in the networking platform