>I have a routine written in C ( not by me ), which dumps the header information for a dbf file, I've found it very useful over the years where clients have data but no copy of Fox installed, I now need to change it to cater for VFP tables, anyone know how to to create a C struct for VFP tables?, what I have at the moment is listed below
>
The exact structure of the VFP DBF header is available in the on-line Help in the
Using Visual FoxPro/Programmer's Guide/Appendix/Table File Structure section.
>
>TIA
>
>Pete Kane
>
>typedef struct
>{
> char dbf_id ;
> char last_update[3] ;
> long last_rec ;
> unsigned data_offset ;
> unsigned rec_size ;
> char filler[20] ;
>} DBF_HEAD