using parameters instead of setting properties in application
right now I'm setting properties in my application like
Dim GroupHeader2 = CType(Fastreport.FindObject("GroupHeader2"), FastReport.GroupHeaderBand)
Dim GroupHeader3 = CType(Fastreport.FindObject("GroupHeader3"), FastReport.GroupHeaderBand)
If Not IsNothing(GroupHeader2) Then GroupHeader2.Condition = "[Meldeliste.idAK]"
If Not IsNothing(GroupHeader3) Then GroupHeader3.Condition = "[Meldeliste.idGK]"
Fastreport.RegisterData(dvMeldung.ToTable, "Meldeliste")
Fastreport.Prepare(True)
Fastreport.Show()
Is there as way to use parameters to set these properties on GroupHeaders?
Same questions for textObject.Visible?
Thanks!
Dim GroupHeader2 = CType(Fastreport.FindObject("GroupHeader2"), FastReport.GroupHeaderBand)
Dim GroupHeader3 = CType(Fastreport.FindObject("GroupHeader3"), FastReport.GroupHeaderBand)
If Not IsNothing(GroupHeader2) Then GroupHeader2.Condition = "[Meldeliste.idAK]"
If Not IsNothing(GroupHeader3) Then GroupHeader3.Condition = "[Meldeliste.idGK]"
Fastreport.RegisterData(dvMeldung.ToTable, "Meldeliste")
Fastreport.Prepare(True)
Fastreport.Show()
Is there as way to use parameters to set these properties on GroupHeaders?
Same questions for textObject.Visible?
Thanks!
Comments
I guess I am missing something... This code simply does nothing. Do I have to link this to somewhere? Is >_StartReport...< correct?
Btw: Is there a book or any material to learn about FastReport? The FRNetUserManual is not very usefull.
learning by doing is very effective [img]style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> just post your question on forum, I'm glad I could help[/img]