Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report in running time
Message
From
07/03/2003 05:25:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
07/03/2003 05:03:07
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00762612
Message ID:
00762615
Views:
14
>Hi
>
>I need make one report at running time
>
>The final user , can select 5 collumns , and so , he will see that 5 collumns in report .
>
>The collumn 1 can be c(10)
>The collumn 2 can be c(20)
>The collumn 3 can be l
>The collumn 4 can be n(10,3)
>The collumn 5 can be d
>
>or perhaps :
>
>The collumn 1 can be n(1)
>The collumn 2 can be l
>The collumn 3 can be c(30)
>The collumn 4 can be d
>The collumn 5 can be n(5,2)
>
>and so one
>
>How can i make this report , at running time ?
>
>
>Thanks

For a text-only report, this should be relatively simple with my text-report class (or any similar custom solution), which offers a great amount of flexibility. My reporting class also allows you to export to Excel.

If you want to use the VFP reporting engine, well, the situation is quite a bit more difficult. VFP doesn't allow you direct programatic control over the report, but you could open a template report as a table (use MyReport.frx), add records, and insert the correct values. You have to analyze the structure of the report file, but it is possible in principle.

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform