Sunday 15 April 2012

vb.net - DevExpress Xtra Report: How to display a label in group footer when the detail band does not have any data? -


itemprop = "text">

If someone is called a lube: lbl warning I would like to display it (visual = True) when no record in the extension band The label is not in the group footer.

This is related to the event report (in my example, its name is XtraReport1). GetCurrentRow () is a way XtraReportBase that returns current data from the primary data binding source if the data is not present, then it blank.

  Private Zero XtraReport1_BeforePrint (Object Sender, PrintEventArgs e) {bool noDataFound = GetCurrentRow () == Tap; Lbl warning: vijay = nodetafound; }  

The same handler in VB:

  MyBase handles as Private sub XtraReport1_BeforePrint (ByVal Sender as System.Object, ByVal E as PrintEventArgs). As the first print dim nodefound boolean = GetCurrentRow () nothing is LBL warning. Science = noded and end  

No comments:

Post a Comment