Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reference Objects in Report

Status
Not open for further replies.

Auguy

Programmer
May 1, 2004
1,206
US
I'm used to opening and hacking the report files in VFP6 and changing all sorts of things. Is there a way to open and reference a report in VFP9 as an object? Something like
Code:
InvoiceForm.Column1.FontBold = .T.

Auguy
Northwest Ohio
 
Nope, but why you need this?
you have Dynamics in VFP9 SP2

Borislav Borissov
VFP9 SP2, SQL Server 2000/2005.
 
Thanks, I guess I have some catching up to do. I am still using SP1. Where can I go to read up on Dynamics. What I'm trying to do is alter the report to have between 6 and 10 columns and expand or contract the width of the columns to fill a landscape report and have the column widths as large as possible. In VFP6 I did this by hacking the FRX.

Auguy
Northwest Ohio
 
Thanks Doug. I will check those out. I do a lot of hacking on the FRX. I display a pick list of fields and let the user select which fields they want to print. Then I create a copy of the report and set the non-selected fields "Print When" to .F. and left justify the remaining columns so there is a fixed amount of white space between them. I also move the column titles, any summation fields, etc. In some cases I adjust the length of the row shading to match the width of all of the printed fields. There are several reports where there are more fields then there is room for and I have pre-marked some of them to not print. The users know this and select only the fields they need and that will still fit on the width of the page.

Auguy
Northwest Ohio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top