Question : How to print table structure in VFP 9

I've used FoxPro for years, and I've never understood why printing the table structure using DISPLAY STRUCTURE TO PRINT results in a print-out with the field names and sizes on different lines.  It's confusing to look at and just makes life more difficult.  Is there a utility available for better printing or an alteration to the command that results in printing each field on one line?

Answer : How to print table structure in VFP 9

Each field simply contains information which cannot fit to one row...

You have several options how to solve it:
1) LIST STRUCTURE TO FILE <filename>   and process the file in some text editor
2) Use printer having sufficient number of characters per line
3) Export the structure to a database table (COPY STRUCTURE TO StruTbl EXTENDED) and print the structure from this table by your own report - this may take about 10 minutes of work first time but the report is reusable...

So, do you still need some external utility?
Random Solutions  
 
programming4us programming4us