Sound Steve
Registered User.
- Local time
- Today, 06:42
- Joined
- Sep 9, 2004
- Messages
- 14
Hi there,
Am trying to update a databse made by an ex emplyee of our company and am stuck!!!
I've created a new form to enable the user to select daily/monthly or weekly reports based on the underlying set of tables/queries. The problem is that i intend using the calendar control to allow the user to selc dates for the reports(sounds simple huh)....but the previous coder has built the databse using date fields as string variables rather than dates(i.e January 2004, would be two seperate string variables rather than a date field of 01/01/2004).
The databse is pretty large so i don;t want to have to redesign it all, i am looking for some code to allow me to take a date from the calendar(or Now()) function and then make it into a string which i can then work with. I need the date, year and day seperated out.
I think this must be possible?
Any help would be gratefully received!!!!
Am trying to update a databse made by an ex emplyee of our company and am stuck!!!
I've created a new form to enable the user to select daily/monthly or weekly reports based on the underlying set of tables/queries. The problem is that i intend using the calendar control to allow the user to selc dates for the reports(sounds simple huh)....but the previous coder has built the databse using date fields as string variables rather than dates(i.e January 2004, would be two seperate string variables rather than a date field of 01/01/2004).
The databse is pretty large so i don;t want to have to redesign it all, i am looking for some code to allow me to take a date from the calendar(or Now()) function and then make it into a string which i can then work with. I need the date, year and day seperated out.
I think this must be possible?
Any help would be gratefully received!!!!