Checking someone else's Crystal report, I found that they had got the last day of a month as follows:
This did work, at least in Crystal 10. Is it valid? Or should one always use some version of the standard method,
Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10
Code:
DateSerial (Year({MYOWN.date}), Month({MYOWN.date})+1, 0)
This did work, at least in Crystal 10. Is it valid? Or should one always use some version of the standard method,
Code:
DateSerial (Year({MYOWN.date}), Month({MYOWN.date})+1, 1) -1
Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10