|
-
Apr 27th, 2005, 09:44 AM
#1
Thread Starter
New Member
DTPicker set to Null or Today in Outlook Task Form
Hi:
I'm a relative newbie and am trying to get the built-in DTPicker function to work in Outlook 2000/2003.
I have a control "DTPickerDueDate" on a Task form that is bound to the built-in "Due Date" field. I have set the control's "Property to use" as "Value." My DTPicker Properties are as follows: "Enabled" and "CheckBox"; Format = 1- dtpShortDate; MinDate and MaxDate are at their default values.
Ideally, I would like the default value of the DTPickerDueDate control to be null but I'm not sure if that's possible. If it can't be, I would like it to default to today's date. (I'm not sure how to do this - but I've read elsewhere that as long as the CheckBox is enabled - that it will default to today's date? If it must be done programatically, I would prefer to use VBscript so that I can distribute it with the form.)
If I select a date other than today's date, the Due Date field in Outlook gets updated appropriately. However, the only way I can get the Due Date field in Outlook to update appropriately is to use DTPicker to select a date other than today's date, and then change it back to today's date. Is there a way to choose today's date and have it update the Due Date field in Outlook?
Summary of questions:
1) How can one set DTPicker's initial value to null?
2) If 1) cannot be done, how do you set it to today?
3) How can you select today's date and have it update the bound field?
Thanks in advance for any help you might be able to give.
Dave
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|