maxDate = Document.Data.Tables["My DataTable"].Columns["My Date"].RowValues.GetMaxValue().Value
Document.Properties["myMaxDate"] = maxDate
#get the latest date
dt = Document.Data.Tables["EV_EVENT_DV"]
rows = Document.ActiveFilteringSelectionReference.GetSelection(dt).AsIndexSet()
latestDate = dt.Columns["TR_Date"].RowValues.GetFormattedValue(rows.Last)
No comments:
Post a Comment