Hi,
I'm sure this is easy but I'm very new to crystal.
A record will contain date fields A, B, C. I need to compare the fields and pick up the earliest date.
I've used a formula field to print the date but am not sure how to use variables within a formula.
The function will then be:
local datetimevar vdate
if A is not null
vDATE = A
if B is not null and B < VDATE
VDATE = B
if C is not null and C < VDATE
VDATE = C
How do a then return VDATE as the formula field value???
Thanks
Phil
I'm sure this is easy but I'm very new to crystal.
A record will contain date fields A, B, C. I need to compare the fields and pick up the earliest date.
I've used a formula field to print the date but am not sure how to use variables within a formula.
The function will then be:
local datetimevar vdate
if A is not null
vDATE = A
if B is not null and B < VDATE
VDATE = B
if C is not null and C < VDATE
VDATE = C
How do a then return VDATE as the formula field value???
Thanks
Phil