Icon GetYearMonthIntervalTypeForField Method

TEDBYearMonthIntervalType __fastcall
      GetYearMonthIntervalTypeForField(const System::UnicodeString
      FieldName)

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