i'm using vb6 and crystal report9. i just created a report.it works well. and i included one sub report to it and i passed the current date in it's "group header section " as
Expand|Select|Wrap|Line Numbers
- Private Sub Subreport1_GroupHeaderSection2_Format(ByVal pFormattingInfo As Object)
- psql = "select current_date"
- Set rs = db.OpenRecordset(psql)
- a = rs(1)
- Subreport1_Text1.SetText (a)
- end sub
how to call the subreport1_groupheadersection2_format again whenever i open the subreport. it should show all the time i reopen it.
can anybody help me. i haven't used the sub report before, so little bit unknown about it,
plz help
with regards.