GetMinMaxVal example for Access 95 and 97

Note: This topic is for Document/Medical only.

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

'must call GetMinMaxVal first
    Lead1.GetMinMaxVal
    Text3.SetFocus
    Text3.Text = CStr(Lead1.MinVal)
    Text4.SetFocus
    Text4.Text = CStr(Lead1.MaxVal)