PC Review


Reply
Thread Tools Rate Thread

Allen Browne Calendar Error

 
 
Kou Vang
Guest
Posts: n/a
 
      31st Jul 2008
I have used Allen Browne's Popup calendar in the past and it worked great!
Now I have uploaded the newest one off his website. I am getting an error on
the function showcal:

dtStartDate = Me.txtDate - Day(Me.txtDate) + 1

me.txtDate = "7/30/2008"
Day(me.txtDate)+1 = 31

Error: Type 13 Mismatch data type

Thanks,

Kou
 
Reply With Quote
 
 
 
 
Kou Vang
Guest
Posts: n/a
 
      31st Jul 2008
Nevermind, I figured it out. Don't worry Allen, as always, your stuff works.
I just gently tweaked it. Thanks guys!

Kou


"raskew via AccessMonster.com" wrote:

> Hopefully Allen will see this and respond, but a quick-fix could be to use
> the DateValue() function,
> e.g. day(datevalue(txtDate))+1
>
> Bob
>
>
>
> Kou Vang wrote:
> >I have used Allen Browne's Popup calendar in the past and it worked great!
> >Now I have uploaded the newest one off his website. I am getting an error on
> >the function showcal:
> >
> >dtStartDate = Me.txtDate - Day(Me.txtDate) + 1
> >
> >me.txtDate = "7/30/2008"
> >Day(me.txtDate)+1 = 31
> >
> >Error: Type 13 Mismatch data type
> >
> >Thanks,
> >
> >Kou

>
> --
> Message posted via http://www.accessmonster.com
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allen Browne Calendar Jim L. Microsoft Access 5 10th Jul 2009 05:39 PM
Allen Browne's Calendar PPCO Microsoft Access 1 17th Jun 2009 02:39 AM
Allen Browne Calendar Bob Vance Microsoft Access 2 23rd Oct 2008 02:11 AM
Allen Browne's Calendar Control Opal Microsoft Access Form Coding 4 22nd Oct 2007 01:35 AM
Allen Browne Popup Calendar - Calendar Button Problem =?Utf-8?B?Sm9hbk9D?= Microsoft Access 6 7th Feb 2006 12:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:20 AM.