Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the table's header
Message
 
 
À
16/01/2001 10:27:56
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00464172
Message ID:
00464194
Vues:
23
>Ok, I'll take that risk, anyway i will not implement it right now but i need to do some research on it. Do you know how?

There is pseudo-code. You'll have to "fill blanks" to get it work
lcMyTable = "MyTable.dbf"
lnFileHandle = FOPEN(lcMyTable, 12) && Open Read/write
IF lnFileHandle < 1                 && Check if there was error
    * Cannot open file - do something
ENDIF

lnOffset = 0                       && An offset of byte you want to overwrite
lcNewVal = "Z"                     && The new data 
= FSEEK(lnFileHandle, lnOffset, 0) && Position file pointer
= FWRITE(lnFileHandle, lcNewVal)   && Write new data
= FCLOSE(lnFileHandle)             && Close File 
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform