...in hopes of someday solving this three year problem for me that I am convinced has a simple answer. I want to apply a function to five fields in the current record on a field's on enter property. Any function will do: Min, Max, Avg, STDEV, etc. I just can't figure out the syntax. The help file shows how to do it for all records of a field but I need it applied to five fields of the current record. I can do if statements for Avg, but that isn't practical for Min, Max, and STDEV. Here is the one example of code that will not work for me:
Me!Thickness_Std_Deviation.Value = STDEV(Me!Site_1_Thickness.Value, Me!Site_2_Thickness.Value, Me!Site_3_Thickness.Value, Me!Site_4_Thickness.Value, Me!Site_5_Thickness.Value)
That is all one line. It does not like the commas seperating the field names. Anyone with an idea would be a blood brother for life.
Me!Thickness_Std_Deviation.Value = STDEV(Me!Site_1_Thickness.Value, Me!Site_2_Thickness.Value, Me!Site_3_Thickness.Value, Me!Site_4_Thickness.Value, Me!Site_5_Thickness.Value)
That is all one line. It does not like the commas seperating the field names. Anyone with an idea would be a blood brother for life.