how to change datepicker

S

sarah

I've included the datepicker control on a form. The
user's choice is accepted into the associated field but
the form still displays the original value from the
properties. Why won't it show the chosen value?

Thanks

Sarah
 
H

Hollis D. Paul

I've included the datepicker control on a form. The
user's choice is accepted into the associated field but
the form still displays the original value from the
properties. Why won't it show the chosen value?
I don't know which date picker control you used, but when I worked with
the one from the Common Tools package, it returned the value to your
variable that was defined for the call stack, and you have to move it
from there to the display control and/or bound field using code.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 
S

sarah smith

Thanks for that. Yes I'm using the Tools package date picker. Can you
give me the code to move the value across please? I'm getting no where.



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
H

Hollis D. Paul

Thanks for that. Yes I'm using the Tools package date picker. Can you
give me the code to move the value across please? I'm getting no where.
I couldn't find the KB article that I remember, but MS' KB database has
gone to hell ever since they started pushing .net beta stuff on
everybody. I'm not sure but what I remember hasn't been superseded by
newer controls. Have a look at the following pages:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/
html/vbconactivexcontrolsoverviews.asp

Using the DateTimePicker Control
See Also

The DateTimePicker control displays date and/or time information and acts
as the interface through which users can modify date and time
information. The control's display consists of fields that are defined by
the control's format string. When the DateTimePicker is dropped down, a
MonthView calendar is displayed.



---------------------------------------------------------------------

http://www.slipstick.com/dev/datepick.htm

The Outlook Appointment, Task and Journal forms include a drop-down
calendar control on their main pages that allows the user to quickly pick
a date. This built-in drop-down control is not available to programmers.
However, both Microsoft and third-party sources provide other ActiveX
controls that you can use in your custom forms.


Also, look in the help for VB, because that is where Microsoft documents
this stuff.



Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 

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