Thank you for responding.
If user enters "diameter" in text box then press Buton in the form, following should happen.
1. look in the table for the field name as "Diameter"
2. Do avg, min, max and SD on that field
3. Output those values to a form which displays Avg, Min, Max and SD of that...