Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Documenting Tables

Status
Not open for further replies.

JulieWulie

Programmer
Aug 12, 2004
9
GB
Is there an easy way to extract table definitions in VFP5 to a word document or something similar?

Thanks in anticipation!

Jules
 
Jules

It depends what you mean by "table definitions".

Have you tried :
Code:
select mytable 
COPY STRUCTURE EXTENDED TO c:\test
USE c:\test
BROWSE

This would guve you the field names, the field type etc...

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Thanks very much. That's pointed me in the right direction!
 
You can also try the old way:

LIST STRUCTURE TO FILE MyFile.txt

It still works in VFP (although you can achieve more attractive results using other methods).
 
JUles,

There is a documentation utility on Compuserve called DBC2WRD.EXE. It produces a nice Word document containing all the details held for all tables in a DBC.

If you are a Compuserve member, go to the MSDEVAPPS forum and search the library for the filename. If not, try this link:

Mikke

Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Jules,

You may find the output of GENDBC and GENDBCX to be of interest. It is an easy way to backup the structure of your DBC and makes copying it (structure only, no data) a snap.

Regards,

Mike
 
Thank you everyone for your help!

Mike, this sounds like just what I need but unfortunately I'm unable to join up from where I am to be able to download the file.
 
Mike

That is absolutely fab! Thank you very much. My job is done!

Jules
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top