PowerTools ActiveReports for .NET 11.0J
DataField プロパティ (GroupHeader)
使用例 

データソースレコードのグループ化に使用するフィールドの名前を取得または設定します。
構文
'宣言
 
Public Property DataField As String
public string DataField {get; set;}

プロパティ値

グループ化するフィールドの名前を表す文字列値。

解説

ActiveReportsは、指定したフィールドの値に対する変更をチェックし、変更があった場合は新しいグループを開始します。新しいグループを開始する前に現在のグループを終了します(グループフッタが印刷される)。指定したフィールドのデータは、データソースから取得するか、DataInitializeイベントでFieldコレクションに追加したアンバウンドフィールドを使用します。

使用例
private void rptSection_ReportStart(object sender, System.EventArgs eArgs)
{
    this.groupHeader1.DataField = "Country";
}
Private Sub rptSection_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs)
   Me.GroupHeader1.DataField = "Country"
End Sub
参照

関連項目

GroupHeader クラス
GroupHeader メンバ

 

 


©2003-2017 GrapeCity inc. All rights reserved.