Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who's right - me or VFP?
Message
De
02/03/2005 06:17:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/03/2005 05:42:30
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:
00991896
Vues:
24
>No, actually I mean it generically. It's a whole sack-load of methods, in a form, using low-level file handling - FGETS() etc., to read in a complicated and complex structured text file of bus-system records, with many and changing formats. So that wouldn't work, thanks.
>
>Terry
>
>>When you say "import" you mean append from delimited, right?
>>
>>Instead of addressing the issue in transit, append to a scratch dbf and then address the issue after the import has completed!

Terry,
As per being strange it was not at all and you already got plenty of explanations.
Tilde usage is an indirect 'set exact' implementation. Adding tilde to both sides you introduce a word boundary so if they match they should match up to and including tilde:
"137~" = "1~"
would be false for example.

Anyway I jumped in to say that Terry's < bg > suggestion is what I had in mind as a solution to your problem. IMHO it's easier and faster to manipulate an intermediate cursor than using fgets() series (at least what I do in my generic importer class).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform