GroupHeader + UserDataSet problem

When I've used groupHeader with MasterData of UserDataSet - the first groupHeader with all data is showing ok, but on the next groupheader there isn't a first row of Masterdata. Another thing that after all data i'm getting extra empty cells >

Comments

  • gpigpi
    edited 12:58AM
    Attach small demo project with problem
  • edited 12:58AM
    Data comming from StringGrid (screen)
    GroupHeader brake on ID
    As U can see every person has 3 positions in list - 9 position at all data but on report there is only 7.
  • edited February 2012
    Problem Solved! with missign row - I've didn't set frxUserData OnPrior event to decrement line number
    To eliminate extra empty row I've set frxUserData CheckEof event to set custom Eof data simple
    if nLineNumber=StringGrid1.RowCount then Eof:=true; where nLineNumber is variable iterate row number

Leave a Comment