Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PrePrinted Form add offset?
Message
From
22/07/2005 10:50:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
PrePrinted Form add offset?
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01035121
Message ID:
01035121
Views:
54
Nevermind, this is resolved. Used a field in the page header of:

IIF(offset>0,REPLICATE(CHR(13),offset+1),'')
float
stretch with overflow

works fine. I would like to make it shorter though - it appears in VFP8 that it can only be one line exactly, not micro adjustments.


VFP8 AND VFP9 App

I have a report that has worked great on most printers. It prints to a pre-printed form (draft). The page setup is defined using whole page instead of printable page. However, in some cases, the user may need the report to shift down (the entire report) and start printing the first line one or two lines below where it is currently defined in the report. I am going to prompt the user to enter an 'offset' that will then in turn add a blank line based on the value of offset to the top of the report to shift it down (Actually the offset value will be stored in the app for the draft and the user can modify it via our app's printing setup whenever necessary).

As to the report, I can only think of adding a field on the top of the report that is set to remove line if blank (case offset is 0 - the default value) or more likely adding a field that replicates chr(13) for each offset . However, how do I ensure that the size used for the field (line) is the equal to one printed line in height exactly?

Thanks in advance for all ideas!
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Next
Reply
Map
View

Click here to load this message in the networking platform