File: ...\Samples\Solution\Reports\Dbctofrx.scx
This sample illustrates a simple way to generate a report with the contents of a Visual FoxPro database (dbc). Simply pick a .dbc file when prompted and a report will be generated for you to preview. You can click on the Print button to generate a hard copy of it.
The sample creates a temporary cursor and inserts new records as the .dbc is scanned. Table and view records are added along with their associated field and index information.