Information générale
Catégorie:
Codage, syntaxe et commandes
>Thanks for all the answer I received about my duplicate fields name problem.
>
>I can see two solutions that might work.
>
>The first is to use the SCATTER and GATHER TO MEMBER. But, I will prefer the second one which is to use the low level file functions to change the header of the table. Does anyone already done that? Any example?
I never done something like that. Maybe it help you to know that:
1. The first field name starts at position 33 in the dbf file;
2. The information for each field takes 32 bytes. So, the second field name starts at the position 65, ...;
3. Each field name has a maximum length of 10 bytes (this is the hotest tip of all! :)) If the length of the field name is less than 10, the other characters are chr(0). Anyway, the name is ended in chr(0).
Vlad
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement