Sendobject Question

G

golfinray

I am trying to use a datepicker to set number of days until an email reminder
is sent. I am a little over my head. I am trying to use something like:
If me.date_picker.value <> now() then
dateadd("d"(me.datepicker.value ?????
docmd.sendobject .......
I don't know how to set this up with dateadd or something else if the user
wants an email reminder, say, 30 days from now and they select that date on
the datepicker. Am I just way off track? Thanks so much!!!
 
L

Lord Kelvan

Ok first point date time pickers can be hard to control, as they are
activex controls

I would ask yourself if you need to use it or will a text box suffice.

Anyways if a user needs to select the date of their reminder then why
would you need to use dateadd(). Or does the user say I want a
reminder in 30 days. Cannot they just select the value then you save
that value in the database to be use at the later date.

As a note I have found the Microsoft datetimepicker control doesn’t
work being bound. I have found if you bind it when you open the form
again it resets the value in the database to when you created the
control rather than displaying the value in the database so just take
note and be careful.

If I have got the wrong end of the stick please explain again.

Regards
Kelvan
 

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

Top