VFP has a very annoying "feature" where multi-column reports and labels that print columns horizontally and have a Group By expression will not print the first detail record in row 1, column 1. The problem is that VFP wants to print the group header in that first cell instead of the first record's detail. This is not a problem in VFP 9. If you need to do it in an older version, here's a workaround:
1. Copy all the objects to be printed in the detail band and paste them into the group header. (Yes, you want them in both places!)
2. In the OnExit function of the group header band, put a UDF that skips a single record. (You have to put a function call in the OnEntry or OnExit command, otherwise, you could just put the Skip right there.) This will prevent the first record from printing in both the first and second columns.
One disadvantage of this technique is that you cannot print a real group header because there's no place for it to print!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.