Access crashes with calendar control
-
- 5StarLounger
- Posts: 889
- Joined: 25 Jan 2010, 16:26
- Location: Garden Grove, CA 92844 USA
Re: Access crashes with calendar control
It is a single form and this seems to work very well except that when I enter a new record, the day is not displayed until return to that record. Is there a way to 'refresh' the record? Sort of like doing another OnCurrent event without actually leaving and returning to the record? Of course, I can see the day in the calendar control.
Don
-
- 4StarLounger
- Posts: 482
- Joined: 24 Jan 2010, 15:02
- Location: Colorado, USA
Re: Access crashes with calendar control
Just a shot in the dark here - your Access version indicates that you have the same version as I, but what does your Office version say? Mine says SP2 MSO (12.0.6521.5000) under Access Options/Resources/about Microsoft Access 2007.
Wendell
You can't see the view if you don't climb the mountain!
You can't see the view if you don't climb the mountain!
-
- Administrator
- Posts: 78481
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Access crashes with calendar control
Do you have a separate calendar control, or do you mean the new popup calendar that comes with Access 2007?dasadler wrote:It is a single form and this seems to work very well except that when I enter a new record, the day is not displayed until return to that record. Is there a way to 'refresh' the record? Sort of like doing another OnCurrent event without actually leaving and returning to the record? Of course, I can see the day in the calendar control.
Best wishes,
Hans
Hans
-
- 5StarLounger
- Posts: 889
- Joined: 25 Jan 2010, 16:26
- Location: Garden Grove, CA 92844 USA
Re: Access crashes with calendar control
Hans - it is the Access 2007 calendar control - I didn't realize there was any other.
Don
-
- 5StarLounger
- Posts: 889
- Joined: 25 Jan 2010, 16:26
- Location: Garden Grove, CA 92844 USA
Re: Access crashes with calendar control
Wendell, here is the about image:
You do not have the required permissions to view the files attached to this post.
Don
-
- Administrator
- Posts: 78481
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Access crashes with calendar control
Access 2007 by default displays a small calendar icon to the right of text boxes bound to date/time fields. Clicking the icon causes a calendar to pop up:
But I would have thought that the After Update event procedure that you posted earlier would update the Text105 text box immediately, I don't understand why it doesn't for you...
But I would have thought that the After Update event procedure that you posted earlier would update the Text105 text box immediately, I don't understand why it doesn't for you...
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans
-
- 5StarLounger
- Posts: 889
- Joined: 25 Jan 2010, 16:26
- Location: Garden Grove, CA 92844 USA
Re: Access crashes with calendar control
It does. I deleted that code fearing it might interfere with the OnCurrent event. I put it back in and all is well.
Don
-
- Administrator
- Posts: 78481
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Access crashes with calendar control
You can use both - they will never "fire" at the same time, so there's no danger of interference.
Best wishes,
Hans
Hans
-
- 4StarLounger
- Posts: 482
- Joined: 24 Jan 2010, 15:02
- Location: Colorado, USA
Re: Access crashes with calendar control
Looks like you are fully patched - the early versions of 2007 did some weird things. Like I said, it was a shot in the dark. And I take your last post means you have solved the issue???dasadler wrote:Wendell, here is the about image:
Wendell
You can't see the view if you don't climb the mountain!
You can't see the view if you don't climb the mountain!
-
- 5StarLounger
- Posts: 889
- Joined: 25 Jan 2010, 16:26
- Location: Garden Grove, CA 92844 USA
Re: Access crashes with calendar control
The problem is solved - thanks to the help of the Lounge.
Don