View Full Version : Group field doesn't print when text is the same


hk1
09-01-2009, 01:20 PM
Got a report in a custom timeclock program that shows user time entries, one line in the detail section for each time entry. Each entry has a "strSpecial" field that is generally blank but can be filled in with text like "Vacation", "Holiday", etc.

One employee had three vacations days in a row. All three time entries print but only the first one actually shows the text "Vacation". If I change each entry to "Vacation1", "Vacation2", and "Vacation3" then the vacation portion prints like it should.

If I put a msgbox in the Format event it shows that the values are actually there but just not getting put into the textbox.

I've attached a screenshot.

boblarson
09-01-2009, 01:28 PM
Check that the control that houses that particular field doesn't have the HIDE DUPLICATES property set to YES.

hk1
09-01-2009, 01:32 PM
That's exactly what it was. Not sure how that property got set to that value unless "yes" is default in some cases.

Wow, I should have posted sooner. Been pulling my hair out for a quite a while on this one.