Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing & Retriving from Foxpro Table Header
Message
De
18/06/2013 05:32:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Writing & Retriving from Foxpro Table Header
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01576598
Message ID:
01576598
Vues:
60
I need to place a four Digit information (like '1123 ') in Foxpro Table Header and also need to get the same value in a variable when Required.

Using the following code I could write to it. But dont know how to again get the value of 1123 from the table.
IF FILE('CMTSCODE.DBF')
Handle= Fopen('CMTSCODE.DBF', 2)
Fseek(Handle, 12, 0)
Fwrite(Handle, "1123", 4)
Fclose(Handle)
ENDIF
Another problem is that, will the insertion of above '1123' will corrupt/disturb my VFP Table. If yes, whats the remedy,

Regards
Harsh
Harsh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform