有谁知道如何/如果您可以在水晶报表的选择公式中使用MIN()?水晶报表选择公式
林想做到这一点:
Dim sql As String = ""
Dim startDate As Date = CDate(_startDate.ToString(_dateFormat))
Dim endDate As Date = CDate(_endDate.ToString(_dateFormat))
sql = "min({" & tableName & "." & dateFieldName & "}) <= " & startDate & " AND {" & tableName & "." & dateFieldName & "} <= " & endDate & ""
Return sql