Icon GetYearMonthIntervalTypeForField Method

function GetYearMonthIntervalTypeForField(const FieldName:
      String): TEDBYearMonthIntervalType

Use the GetYearMonthIntervalTypeForField method to retrieve the interval type for a given YEAR-MONTH INTERVAL column. This is useful when trying to format interval values properly for display in data-aware controls.
Image