Discussion:
How to exclude Step & Next columns in DISPLAY STRUCTURE in VFP 9.0
(too old to reply)
Dinesh
2005-03-31 10:27:02 UTC
Permalink
Hi,

I have just upgraded to VFP 9.0

But when I print DBF structure using the command :

LIST STRUCTURE TO PRINTER

it also shows additional columns - Next & Step.

Is there anyway to print structure w/o these columns like it used to be in
earlier versions.

The printout with these additional columns looks all weird to understand.

Thanks in advance.

Regards,
Dinesh
Rick Bean
2005-03-31 14:08:47 UTC
Permalink
Dinesh,
You could alway sent it to a file and remove the offending data, but you may what try these three other alternatives to give you a readable listing:
1) Use the
SET PRINTER FONT cFontName [, cFontSize] [STYLE cFontStyle]
command to set the font to a smaller fixed width font (non-proportional). For a list of candidates
check out http://fox.wikis.com/wc.dll?Wiki~MonospacedFonts~WIN_COM_DNA

2) Use the AFIELDS( ) Function to get the data, transfer it to a cursor, and create a simple report.
Adjust the columns as you'd like them.

3) Go to the UT (http://www.universalthread.com/) download area and get one of the many free
utilities that will do this for you. LS - List structure is one that comes to mind.

Rick
Post by Dinesh
Hi,
I have just upgraded to VFP 9.0
LIST STRUCTURE TO PRINTER
it also shows additional columns - Next & Step.
Is there anyway to print structure w/o these columns like it used to be in
earlier versions.
The printout with these additional columns looks all weird to understand.
Thanks in advance.
Regards,
Dinesh
Loading...