GetMinMaxVal example for Access 2.0

The following example retrieves the values for MinVal and MaxVal using GetMinMaxVal and writes the results.

    'must call GetMinMaxVal first

    Me![LEAD1].Object.GetMinMaxVal

    MsgBox "MinVal" & Str(Me![LEAD1].Object.MinVal)

    MsgBox "MaxVal" & Str(Me![LEAD1].Object.MaxVal)