Tuesday, 12 May 2009

Visual Foxpro (VFP) Reports - Group header not printing all fields

If you find that the group header doesnt print all the fields you expect try the following...

For straight text fields (used to get around the label truncation thing) use sing quotes ' around the text instead of doubles ".

'A test bit of text' instead of "A test bit of text"

If you are printing a text field...

e.g.
oReportStatic.UserName

try enclosing it in AllTrim(), this seems to sort out the processing.

e.g.

AllTrim(oReportStatic.UserName)

No comments: