Today's date on an Active X Calendar

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Could anyone tell me how to set the properties so that the ActiveX calendar I
have in the database, displays the current date when the program is openend.

I thought this would have been easy, but obviously not!

Thanks for any help.
 
James, thanks for the response, but I am still at a loss as what to do. Could
you explain further?

Cel504
 
CEL504 said:
James, thanks for the response, but I am still at a loss as what to do. Could
you explain further?

Cel504

The important point is that the ActiveX Control's AfterUpdate event does
not show up in the list of events. You have to add 'Private Sub
ActiveXControlName_AfterUpdate()' yourself in the VBA window, set the
textbox's value to 'ActiveXControlName.Value' in the subroutine's code
and have faith that the ActiveX Control will know what to do with the
event when a day is picked.

The locked textbox shows the user what date will be used, yet doesn't
allow the user to type in a date and possibly put in an invalid date.

James A. Fortune
(e-mail address removed)
 
James, as ever thanks for you help and it's much appreciated. Thank you!
 

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


Back
Top