STAMPNUDF ​
Used in a JUSTAFTER to stamp a value in a specified name User Defined Field (UDF) for all names in the report.
Reporting Area(s) ​
Names
Required Parameters ​
- Name UDF field in which to stamp value (i.e. "nudfc1", "nudfd1", "nudfl1", "nudfn1")
- Value to stamp in field (i.e. "Member", DATE(), 3, .t.). Value must match User Defined Field type (i.e. characters in Character fields, .t. or .f. in Logical fields, number in Number fields, or date in Date fields)
Optional Parameters ​
None
Example(s) ​
JUSTAFTER('=STAMPNUDF("nufc1","Member")') stamps 'Member' in Name UDF character field # 1
JUSTAFTER('=STAMPNUDF("nudfd2",DATE())') stamps current date in Name UDF date field # 2
JUSTAFTER('=STAMPNUDF("nudfl2",.t.)') stamps 'Y' (true) in Name UDF logical field # 2
JUSTAFTER('=STAMPNUDF("nudfn1",1257)') stamps 1257 in Name UDF number field # 1
Notes ​
This function will only work in records which already have values stored in one or more Name UDF fields.