Calendar control conflict with search

D

davethewelder

Hi, I have a continuous form with two unbound textboxes which are formatted
as Short date to pick a range between two dates for assessments. This was
provided by Allen Browne Search2000.mdb and addapted. The search works fine.

I now want to add Steven Lebans Calendar to the Unbound textbox to allow the
user to pick the date from the calendar.

When the form loads I get the error message "The command or action
acCmdRecordsGoToNew isn't available now" .

Can this calendar be attached to Unbound textboxes. I am aware the Allen
Browne code converts a string to a date format and the Lebans calendar is
date format. Could the date be converted to string format in the AfterUpdate
Event.
Alternatively can someone recommend a calendar to use with this search?

Going round the houses I know but any help appreciated.

Cheers,

Davie
 
D

davethewelder

RG, thanks for directing me to this Allen Browne calendar. It works a treat.
I will have to make more use of this site before posting in future.

Thanks again.

Davie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top