Outlook 2000 Custom Form using Date Time Picker Control 
Author Message
 Outlook 2000 Custom Form using Date Time Picker Control

 I have a custom Outlook 2000 form which uses Microsoft's built-in DateTime
Picker control to allow the user to pick dates and times for a meeting
request. I have associated the DTPicker1 field value to "custom user defined
field".

Problem is that when I go and pick date from DTPicker from Outlook from, it
does not get stored and every time I would default DTPicker date value (set
as today's date). Any ideas/suggestions what I am doing wrong?

Thanks in advance - every one for your help.

Afzal



Wed, 20 Apr 2005 07:16:16 GMT  
 Outlook 2000 Custom Form using Date Time Picker Control
Dim MyDate

sub DTPicker1_Click()

MyDate =
item.GetInspector.ModifiedFormPages("P.2").Controls("DTPicker1").Month & "/"
& item.GetInspector.ModifiedFormPages("P.2").Controls("DTPicker1").Day & "/"
& item.GetInspector.ModifiedFormPages("P.2").Controls("DTPicker1").Year

end sub

Sub CommandButton1_click()

MSGBOX MyDate

end Sub

HTH


Quote:
> I have a custom Outlook 2000 form which uses Microsoft's built-in DateTime
> Picker control to allow the user to pick dates and times for a meeting
> request. I have associated the DTPicker1 field value to "custom user
defined
> field".

> Problem is that when I go and pick date from DTPicker from Outlook from,
it
> does not get stored and every time I would default DTPicker date value
(set
> as today's date). Any ideas/suggestions what I am doing wrong?

> Thanks in advance - every one for your help.

> Afzal



Thu, 21 Apr 2005 11:17:07 GMT  
 Outlook 2000 Custom Form using Date Time Picker Control
Thanks a lot!  Your help is much appreciated.

Regards,

Afzal Baig



Quote:
> Dim MyDate

> sub DTPicker1_Click()

> MyDate =
> item.GetInspector.ModifiedFormPages("P.2").Controls("DTPicker1").Month &
"/"
> & item.GetInspector.ModifiedFormPages("P.2").Controls("DTPicker1").Day &
"/"
> & item.GetInspector.ModifiedFormPages("P.2").Controls("DTPicker1").Year

> end sub

> Sub CommandButton1_click()

> MSGBOX MyDate

> end Sub

> HTH



> > I have a custom Outlook 2000 form which uses Microsoft's built-in
DateTime
> > Picker control to allow the user to pick dates and times for a meeting
> > request. I have associated the DTPicker1 field value to "custom user
> defined
> > field".

> > Problem is that when I go and pick date from DTPicker from Outlook from,
> it
> > does not get stored and every time I would default DTPicker date value
> (set
> > as today's date). Any ideas/suggestions what I am doing wrong?

> > Thanks in advance - every one for your help.

> > Afzal



Thu, 21 Apr 2005 23:08:07 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Output format of date (using ActiveX Windows date time picker)

2. Linking Project 2000 to Outlook 2000 custom forms

3. Linking Project 2000 to Outlook 2000 custom forms

4. Linking Project 2000 to Outlook 2000 custom forms

5. Microsoft Date and Time Picker Control 6.0 (SP4)

6. Access value of date time picker control

7. Compare date in form with date/time in form with date/time in database

8. Date/Time Picker for VB using cmctl32

9. Outlook 2000: Custom form - read page keeps asking for save changes

10. Custom Form and List box problem Outlook 2000

11. Outlook Date Picker Control

 

 
Powered by phpBB® Forum Software