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
>
>