Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing & Retriving from Foxpro Table Header
Message
From
18/06/2013 05:32:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Writing & Retriving from Foxpro Table Header
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01576598
Message ID:
01576598
Views:
59
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
Next
Reply
Map
View

Click here to load this message in the networking platform