STAMPCUDF ​
Used in a JUSTAFTER to stamp a value in a specified course User Defined Field (UDF) for all courses in the report.
Reporting Area(s) ​
Course
Required Parameters ​
- Course UDF field in which to stamp value (i.e. "cudfc1", "cudfd1", "cudfl1", "cudfn1")
- 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('=STAMPCUDF("cudfc1","Free")') stamps 'Free' in CourseUDF character field # 1
JUSTAFTER('=STAMPCUDF("cudfd2",DATE())') stamps current date in Course UDF date field # 2
JUSTAFTER('=STAMPCUDF("cudfl2",.t.)') stamps 'Y' (true) in Course UDF logical field # 2
JUSTAFTER('=STAMPCUDF("cudfn1",1257)') stamps 1257 in Course UDF number field # 1
Notes ​
This function will only work in records which already have values stored in one or more Course UDF fields.