Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The best way to print table with n columns?
Message
From
16/03/1998 11:25:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00084828
Message ID:
00084837
Views:
31
>>>Which is best way to print multiple columns table?
>>>
>>>For egsample:
>>>1 2 3 4 5 6 7 ...
>>>x g r t i o o ...
>>>
>>>It is impossible to create VFP report for those table.
>>>
>>>Giedrius
>>Why impossible ?
>>Cetin
>Cause you don't know woh many column your table will have.
>If you create report which prints (e.g.) 6 columns, but one day your table
>will have 7 columns.
>
>Giedrius

You either create one report form for each layout (number of columns) or create one universal report form which will print from cursor with fixed structure, i.e. whatever is number of fields you gonna print your cursor will always have let say 20 fields and in particular case it will be e.g. 6 filled fields and 14 empty fields. Now, all print fields (and event labels) should use 'Print When' to be evaluated against nNumberoffields var you should pass to report. Also, you will have to pass column lable names to provide even more flexibility.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform