Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who's right - me or VFP?
Message
De
04/03/2005 05:05:53
 
 
À
03/03/2005 16:04:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00991597
Message ID:
00992676
Vues:
29
Cheers, Fred.

PS You're up early! It can't be 5 am there yet as it's only 10:20 here!

Terry

UPDATE: Oh, unless you've just left the 'puter on permanent of course (forgot Americans don't like switching stuff off :-)

>>Me going potty or what? I've been importing a series of bus routes from an ACII text file. I noticed there were several input recs with the same Route ID, i.e. "1 ". Each route ID is forced into a 4-char var, lcRouteID. I wanted to catch each time I encountered one so I threw in the following code, to catch them in debug:
>>
>>If ALLTRIM( lcrouteid) = "1"
>> x=1 && Just a dummy with the BREAKPOINT
>>EndIf
>>
>>Unfortunately this halted on every route that began with 1, e.g. "137 ", "100 ", "1A ". I think this is wrong. It should have nothing to do with "Set exact" et al.
>>
>>Any comment?
>>
>>Terry
>
>Use this:
>
>If ALLTRIM( lcrouteid) == "1"
>
>That will only match the ones that are "exactly equal" to "1"
- 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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform