|
-
Apr 26th, 2006, 10:20 AM
#1
Thread Starter
Member
Assign datevar first of current month [Resolved]
I have a datevar 'firstofmonth' in Crystal Reports. I'm trying to set that variable to be the first of the current month and year. My thinking is something along the lines of: firstday := month(currentdate) & 1 & year(currentdate)
Anyone know the correct syntax for this?
Thanks much!
Last edited by BIGGY; Apr 26th, 2006 at 11:23 AM.
-
Apr 26th, 2006, 11:23 AM
#2
Thread Starter
Member
Re: Assign datevar first of current month
Resolved: I fgured out
firstday := date(year(currentdate) , month(currentdate) , 01 );
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|