Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro telling me porky pies again
Message
De
27/01/2005 12:16:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Foxpro telling me porky pies again
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00981259
Message ID:
00981259
Vues:
59
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
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform