Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ONE FOR THE EXPERTS - Appending lines with different for
Message
De
14/05/1998 16:38:43
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
13/05/1998 02:07:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00098397
Message ID:
00099589
Vues:
62
>>use table1
>>append from incoming.sdf type sdf for c1="A"
>>use table2
>>append from incoming.sdf type sdf for c1="B"
>>
>>...etc. Unless you have to do this often (whereas this should be in a .prg), you can issue this in the command window.
>Dragan,
>Really cool. Before I never thought I could do this with an SDF data.
>Cetin

Some additional notes to this, from my (seemingly large, but at least long) experience with this type of data manipulation:
- If a row in the sdf file is shorter than the total length of the fields, the remaining fields are blank.
- If it's longer, the remainder of the row is ignored.
- If it contains null bytes, it behaves as if it is shorter, i.e. the remainder of the fields to the right of the null character will be blank.
- Legal line delimiters are cr, lf, crlf, but can't be sure of ff. I remember it misbehaved somehow in some versions of Fox.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform