marathonlady
Registered User.
- Local time
- Today, 15:02
- Joined
- Jul 10, 2002
- Messages
- 120
I have a form that has a date field. When a new record is added
I had the default on the date field to be the current date. This worked fine on my pc (Windows2000 op sys), but on the users pc (NT), the #NAME came in the date field, but they were able to enter a date in the field. So I made a change that when a new record came up, in VB code I set DateField = Date(). What happened on my machine is because the date was set in VB, it tried to add the record to the table without the key field (parcel number) which gave an error. Has anyone had this problem?
How do I set the date to the current date and not having a record yet added to the table?
I had the default on the date field to be the current date. This worked fine on my pc (Windows2000 op sys), but on the users pc (NT), the #NAME came in the date field, but they were able to enter a date in the field. So I made a change that when a new record came up, in VB code I set DateField = Date(). What happened on my machine is because the date was set in VB, it tried to add the record to the table without the key field (parcel number) which gave an error. Has anyone had this problem?
How do I set the date to the current date and not having a record yet added to the table?