I inserted an ActiveX control on my form. It is Calendar Control 8.0 (from Access 97).. I've got a field in my table that I would like the selected date from the calendar to be inserted into. How is this done?
Thanks for the post. I am quite a novice and need to know where to insert the code you provided on my form.. Is it using the onClick event for a save button?
Correct. I am assuming you have a button that will insert the data in the field.
What I wrote is the SQL Statement you will send to the connection object (db object) to make that insert.
hth
Alcar
Ok, I am assuming that calendar1 is the NAME of each calendar (it didnt' work the other way around), and so I changed it... but am getting an error still... It highlights strSQL and a "compile error: variable not defined" ..
As you can see, I'm using 3 calendars in my form...
save is the name of my button
rest speaks for itself.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.