Visit our new web pagesWe have launched a new extended set of web pages at www.alvechurchdata.co.uk. These old pages will stay on the server because people still have links to them but they will not be updated. The new version of this page is at www.alvechurchdata.co.uk/hints-and-tips/fox101table.html. |
|||||||||||||||||||||||||||||
Home About us Development Training Support |
VFP Tutorial - Data TablesTable filesUnlike Access or SQL Server, FoxPro stores all the tables of its database as separate files. Fields of fixed-length data are held in a file with an extension of .dbf; the variable-length data, graphics and OLE objects have an extension of .fpt and the indexes are .cdx. This separation has good and bad points but is proved reliable over many years. Designing a tableWe will skip the first and most important phase of this process and assume that the structure of the table has already been considered. This project has a single table named CD with the following structure: Field |
Type |
Size |
Description |
CDID |
I |
  |
Unique sequential number to identify each CD |
Publisher |
C |
30 |
Publisher of this CD - eg 'Microsoft' |
CDName |
C |
30 |
Name of this CD - eg 'Visual FoxPro 8' |
SerialNo |
C |
40 |
Manufacturer's serial number |
Key |
C |
40 |
Security Key |
CDDate |
D |
  |
Date received |
|
Click on the tab of the Project Manager then right-click on
The textbox class in Visual FoxPro 9 has a new Autocomplete
property which shows the user the previous values that have
been entered in that textbox.
Autocomplete in VFP 9
Your Access database will look more impressive if you add custom toolbars...
Custom toolbars
FoxPro has always had functions to read and write files at a low level...
Foxpro low level file functions
More...
More pages of hints and tips for users of Microsoft FoxPro and Access databases.