i am using VBnet 2002 and crystal v9.1
Please I am trying to define an expression in my crystal report but still having errors , Can you help me please???
below is my code,please advice accordingly ;
VB Code:
  1. Local StringVar message := "";
  2. Local Datevar confdate ={pensioners.date_conf_pens_terms};
  3. Local Datevar hiredate ={pensioners.hiredate};
  4.  
  5. if hiredate = confdate then
  6. message="N/A"
  7. ELSE
  8. confdate
I simply want to display a message "N/A" on the report when dates are equal and confdate when otherwise.
Please help.