Polyphonica
Programmer
Hi,
I'm doing a project for sixth form and need to record the date that a record is created. The thing is, I have for tables linked in a query and two of the tables need the date.
I have created a form based on the above query. One of the date fields has the =date() function and works great.
For the other field, I have created a macro with a Setvalue function and it supposedly sets the field on the form with =date(). For some weird reason though, it puts it as 30/12/1899. I know this is the first date tht Access recognizes but why is it doing this?
I have, to rule out my database, created a test database with one table, one query and one form (based on the query). I did the exact same thing; I created a macro to set the value of the date field on the form and i have the same problem.
Is it a known bug in Access or something? I'm using version 2002 and my database is in 2000 mode (although I have the same problem as 2002 mode).
Er, help!
I'm doing a project for sixth form and need to record the date that a record is created. The thing is, I have for tables linked in a query and two of the tables need the date.
I have created a form based on the above query. One of the date fields has the =date() function and works great.
For the other field, I have created a macro with a Setvalue function and it supposedly sets the field on the form with =date(). For some weird reason though, it puts it as 30/12/1899. I know this is the first date tht Access recognizes but why is it doing this?
I have, to rule out my database, created a test database with one table, one query and one form (based on the query). I did the exact same thing; I created a macro to set the value of the date field on the form and i have the same problem.
Is it a known bug in Access or something? I'm using version 2002 and my database is in 2000 mode (although I have the same problem as 2002 mode).
Er, help!