I am using Crystal Report 8.5 with SQL server 2000 database. I am trying to acheive the following. I need to write a formula where {table.Commission_Qualify_Date} (Month & Year only) equals {table.Period_Date} (Month & Year only). Both these fields are present in the same table. The problem is that {table.Commission_Qualify_Date} is a string type field with data like 20030701 and {table.Period_Date} is a DateTime field with data like 01/07/2003 00:00:00AM.
The challenge is that I only need to make sure that the month and year are the same. I am not sure how to do this with two different types of data.
Can anyone please guide me in the right direction?
Thanks,
Kchaudhry
Kchaudhry
The challenge is that I only need to make sure that the month and year are the same. I am not sure how to do this with two different types of data.
Can anyone please guide me in the right direction?
Thanks,
Kchaudhry
Kchaudhry