Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print a Report from a Cursor without FRX
Message
From
11/12/2009 13:21:09
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
11/12/2009 00:01:08
Hong Yew
People Quest
Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01438537
Message ID:
01438659
Views:
53
>Thanks Naomi
>
>But that would means the report layout is fixed.
>
>But how would I change the report layout on the fly without the user editing the layout by hand
>
>I need to be able to adjust the column width and header label before the REPORT FORM command.

Options:
- use fixed font and stuff all the output into a single long line; have a frx which will print that long line. One or two fixed length strings to use for headers. Your report is no more than 254 characters wide.

- output into a text file using ? and ?? and have that printed in fixed font

- Output to excel, adjust widths and headers at will and at runtime (see Srđan Đorđević's library for manipulating Excel, may save you some time)

- Output to classic HTML, into a table - the browser in which you view it will take care of widths automatically.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform