Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
allen browne calendar problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris  
View profile  
 More options Nov 4, 7:13 am
Newsgroups: microsoft.public.access
From: "Chris" <ccl...@telenet.be>
Date: Tue, 3 Nov 2009 21:13:38 +0100
Local: Wed, Nov 4 2009 7:13 am
Subject: allen browne calendar problem
Hi,

I'm using Allen Browne's calendar on my form to enter the date of the
salesrep's visit and the duedate of the action to be done.
This works fine the first time, but when I click the 'add new record'-button
on my form, I get the message 'the property or method is not supported by
this object' when I click on the OK button on the calendar form to confirm
the chosen date.

Any suggestions how to solve this problem?

Thanks,
Chris


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris  
View profile  
 More options Nov 4, 7:16 am
Newsgroups: microsoft.public.access
From: "Chris" <ccl...@telenet.be>
Date: Tue, 3 Nov 2009 21:16:05 +0100
Local: Wed, Nov 4 2009 7:16 am
Subject: Re: allen browne calendar problem
Additional info:

this problem occurs with access 2007. In access 2003 everything works fine.

Chris

"Chris" <ccl...@telenet.be> schreef in bericht
news:OY4ZnIMXKHA.4780@TK2MSFTNGP05.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeanette Cunningham  
View profile  
 More options Nov 4, 8:00 am
Newsgroups: microsoft.public.access
From: "Jeanette Cunningham" <n...@discussions.microsoft.com>
Date: Wed, 4 Nov 2009 08:00:31 +1100
Local: Wed, Nov 4 2009 8:00 am
Subject: Re: allen browne calendar problem
Hi Chris,
I have used Allen Browne's calendar in A2007, so I can confirm that it isn't
a problem with the calendar.
Would you explain how your 'add new  record' button is related to the OK
button on the calendar form so we can better understand the problem you
have.

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Chris" <ccl...@telenet.be> wrote in message

news:OY4ZnIMXKHA.4780@TK2MSFTNGP05.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris  
View profile  
 More options Nov 4, 8:21 am
Newsgroups: microsoft.public.access
From: "Chris" <ccl...@telenet.be>
Date: Tue, 3 Nov 2009 22:21:34 +0100
Local: Wed, Nov 4 2009 8:21 am
Subject: Re: allen browne calendar problem
Hi Jeanette,

the sales rep's info form is a continuous form. It has several text fields
on it, including the 'datum contact' field. Next to this field is a button
to open the pop-up calendar. After chosing the date and clicking the OK
button on the calendar form, the datum contact field is filled with the
chosen date on the calendar form.
In the form header is another button to add a new record.
This is the code:
Private Sub btnAddNew_Click()
On Error GoTo Err_btnAddNew_Click
    datum_contact.SetFocus
    DoCmd.GoToRecord , , acNewRec

Exit_btnAddNew_Click:
    Exit Sub

Err_btnAddNew_Click:
    MsgBox Err.Description
    Resume Exit_btnAddNew_Click
End Sub

My cursor jumps nicely to the datum contact field, when I click the open
calendar form button, the form opens. But when I want to confirm my chosen
date by clicking the OK button on the calendar form I get the error message.

I hope all this makes sense and helps you find a solution.

Kind regards,
Chris

"Jeanette Cunningham" <n...@discussions.microsoft.com> schreef in bericht
news:uLPkviMXKHA.4816@TK2MSFTNGP06.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeanette Cunningham  
View profile  
 More options Nov 4, 8:28 am
Newsgroups: microsoft.public.access
From: "Jeanette Cunningham" <n...@discussions.microsoft.com>
Date: Wed, 4 Nov 2009 08:28:36 +1100
Local: Wed, Nov 4 2009 8:28 am
Subject: Re: allen browne calendar problem
Hi Chris,
my first thought is to explicitly save the chosen date before adding a new
record.
Also temporarily move the  setFocus line to after going to the new record.
Try something like this-->

Private Sub btnAddNew_Click()
 On Error GoTo Err_btnAddNew_Click
    If Me.Dirty Then
    Me.Dirty = False
    End If

    DoCmd.GoToRecord , , acNewRec
    Me.datum_contact.SetFocus

 Exit_btnAddNew_Click:
    Exit Sub

 Err_btnAddNew_Click:
    MsgBox Err.Description
    Resume Exit_btnAddNew_Click
 End Sub

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Chris" <ccl...@telenet.be> wrote in message

news:%23i3zkuMXKHA.220@TK2MSFTNGP02.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris  
View profile  
 More options Nov 4, 8:34 am
Newsgroups: microsoft.public.access
From: "Chris" <ccl...@telenet.be>
Date: Tue, 3 Nov 2009 22:34:16 +0100
Local: Wed, Nov 4 2009 8:34 am
Subject: Re: allen browne calendar problem
Hi Jeanette,
tried it but no success.

Chris

"Jeanette Cunningham" <n...@discussions.microsoft.com> schreef in bericht
news:ew5FcyMXKHA.408@TK2MSFTNGP04.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeanette Cunningham  
View profile  
 More options Nov 4, 8:47 am
Newsgroups: microsoft.public.access
From: "Jeanette Cunningham" <n...@discussions.microsoft.com>
Date: Wed, 4 Nov 2009 08:47:11 +1100
Local: Wed, Nov 4 2009 8:47 am
Subject: Re: allen browne calendar problem
There could be some other code on the form that is interferring with the
calendar.
Temporarily comment out all code on the form and then just uncomment the
lines needed to go to a new record and use the calendar.
See if this approach helps you discover the problem.

Another possibility is some start of corruption on your form.
To test this, I create a very basic new form from scratch. Put only the bare
minimum of controls on the form - such as the primary key, the date
field/control, the add new button and the calendar button - test and see
what happens.

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Chris" <ccl...@telenet.be> wrote in message

news:OJHer1MXKHA.1372@TK2MSFTNGP02.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris  
View profile  
 More options Nov 4, 7:52 pm
Newsgroups: microsoft.public.access
From: "Chris" <ccl...@telenet.be>
Date: Wed, 4 Nov 2009 09:52:19 +0100
Local: Wed, Nov 4 2009 7:52 pm
Subject: Re: allen browne calendar problem
Hi Jeanette,

there was some other code on the form. After removing that, the problem was
solved.
This brings up another question though.
The code I removed was to carry over data from the previous record to the
new record:
Private Sub Form_BeforeInsert(Cancel As Integer)
    Dim strMsg As String
    Call CarryOver(Me, strMsg, "verslag_contact", "actie_todo",
"actie_duedate", "datum uitvoering")
    If strMsg <> vbNullString Then
        MsgBox strMsg, vbInformation
    End If
End Sub
How do I get this to work in A2007?

Chris

"Jeanette Cunningham" <n...@discussions.microsoft.com> schreef in bericht
news:%23jd068MXKHA.2388@TK2MSFTNGP02.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeanette Cunningham  
View profile  
 More options Nov 5, 10:41 am
Newsgroups: microsoft.public.access
From: "Jeanette Cunningham" <n...@discussions.microsoft.com>
Date: Thu, 5 Nov 2009 10:41:48 +1100
Local: Thurs, Nov 5 2009 10:41 am
Subject: Re: allen browne calendar problem
A2007 is a little more fussy or more strict than A2003 with some code.
It is a long time since I have used carry over code, I forget what problems
may eventuate.
A couple of things to try-->
1. Try moving the carry over code to a different event, for example the
current or load events.

2. Experiment with removing any date field/controls from the carry over
routine.

3. I am not familiar with the CarryOver routine- maybe there is a way to
tweak the code in it.

4. Find a different way to setup the default values for those field/controls
instead of using the CarryOver code.

Hope something from the above helps.

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Chris" <ccl...@telenet.be> wrote in message

news:u9G0jwSXKHA.1372@TK2MSFTNGP02.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google