CanadianAccessUser
Registered User.
- Local time
- Today, 20:08
- Joined
- Feb 7, 2014
- Messages
- 114
Hello!
I'm looking for a bit of code for a module that will return the field name from an expression (that uses an array) instead of returning the value in that field.
Example:
(Minimum is a working module that finds the smallest number in the array)
Field1 = 34
Field2 = 53
Field3 = 21
Field4 = 62
GetFieldName(Minimum([Field1],[Field2],[Field3],[Field4])) = "Field3"
I've searched but can't find a way to select the field name anywhere...
Any ideas would be appreciated
I'm looking for a bit of code for a module that will return the field name from an expression (that uses an array) instead of returning the value in that field.
Example:
(Minimum is a working module that finds the smallest number in the array)
Field1 = 34
Field2 = 53
Field3 = 21
Field4 = 62
GetFieldName(Minimum([Field1],[Field2],[Field3],[Field4])) = "Field3"
I've searched but can't find a way to select the field name anywhere...
Any ideas would be appreciated