Question:
How do I control the output format for the list structure command so that it always fits on a page (portrait or landscape)?
Is there another way to get the structure and indexes listed for documentation purposes?
Answer:
The VFP function AFIELDS() will put the structural information about a table into an array, check the VFP help file:
AFIELDS(ArrayName [, nWorkArea | cTableAlias])