Hi Naoto.
I believe that height offset you're seeing is the height of the actual band header that you see in the report writer.
Anyway, I've built reports programmatically from a base frx file and have never had a problem using a fixed value for the height of the band headers.
Ian Simcock.
>>>>Check
>>>>
What's New in the Visual FoxPro 9.0 Report Writer>>>>
Understanding and Extending Report Structure>>>>
FRX Cursor Foundation Class>>>
>>>Thanks! Took a quick view but didn't find some pieces of information I need at the moment -- but they did point me in a few directions that might help.
>>
>>What are you looking for?
>
>I probably should've mentioned that in this particular situation, I'm working on a update to an existing program that was compiled under VFP 6.0.
>
>In particular I needed some information regarding VPOS and HEIGHT and how these should be updated to maintain proper positioning if I were to resize the bands. As I'd mentioned earlier, I had noticed that there seems to be some sort of "gap" between some of the bands, but I'm unsure where this value is coming from. Let's say that there is a report form with a page header and footer at 1/2" high and detail band of 1/4" in height. If I look at the FRX, I notice that the HEIGHT values are 5000 for the header and footer and 2500 for the detail band. If I placed an object at the top of the detail band and look at the FRX, I see a VPOS of 7083.333. If I place the object at the top of the page footer, I get a VPOS of 11666.667. I'm not sure where the 2083.333 "fudge factor" is coming from. I'm worried that this value might be dependent upon things like font and DPI settings.