Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

code for minimum value

Status
Not open for further replies.

shelspa

Technical User
Dec 13, 2001
66
US
I have three fields of data. I want a fourth field to show the minimum of the three. I put the following code in the after update event of the third field:

Me!Minimum_Field.Value = Minimum(Me!Field1.Value, Me!Field2.Value, Me!Field3.Value)

error = minimum not defined.

This applies to only one record. There are no nulls or zeros only positive integers to deal with. Ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top