Group:  Microsoft Outlook ยป microsoft.public.outlook.program_forms
Thread: Datepicker

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Datepicker
JohnG 23.09.2006 21:22:01
Following your previous advice Sue I installed the mscomctl2.ocx, registered
it and installed it to the control box.

I can now put a datepicker control on the compose portion of a message based
form and it appears to work fine.

But when I copy that control and paste it on reply side of the form it
doesn't take the compose form sides input and copy it to the reply side. As
in when they pick a date on the compose I want that exact same date they
picked to be duplicated to the reply side when I answer the form and send it
back.

The reply side acts like a completely new control box w/no relation to the
compose side. I have done the copy and paste for other controls that do mimic
each other just fine except in this case.

I'm using Outlook 2002 on Windows XP Pro if that has anything to do with it.

Any advice appreciated yet again.

John
Re: Datepicker
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 23.09.2006 22:00:24
"reply side of the form"? You mean the read layout? Did you bind it to the same Outlook field?

A reply is a new item. If the field value isn't being copied, you can always put code in the Item_Reply to copy the value.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"JohnG" <JohnG[ at ]discussions.microsoft.com> wrote in message news:91F81551-1E13-46B0-91C9-3D6934EB3491[ at ]microsoft.com...
[Quoted Text]
> Following your previous advice Sue I installed the mscomctl2.ocx, registered
> it and installed it to the control box.
>
> I can now put a datepicker control on the compose portion of a message based
> form and it appears to work fine.
>
> But when I copy that control and paste it on reply side of the form it
> doesn't take the compose form sides input and copy it to the reply side. As
> in when they pick a date on the compose I want that exact same date they
> picked to be duplicated to the reply side when I answer the form and send it
> back.
>
> The reply side acts like a completely new control box w/no relation to the
> compose side. I have done the copy and paste for other controls that do mimic
> each other just fine except in this case.
>
> I'm using Outlook 2002 on Windows XP Pro if that has anything to do with it.
>
> Any advice appreciated yet again.
>
> John
Re: Datepicker
JohnG 23.09.2006 23:00:02
So I should design the form using the seperate read layout, then activate the
read layout and everything should copy over?



"Hollis Paul [MVP - Outlook]" wrote:

[Quoted Text]
> In article <91F81551-1E13-46B0-91C9-3D6934EB3491[ at ]microsoft.com>,
> =?Utf-8?B?Sm9obkc=?= wrote:
> > But when I copy that control and paste it on reply side of the form it
> > doesn't take the compose form sides input and copy it to the reply side. As
> > in when they pick a date on the compose I want that exact same date they
> > picked to be duplicated to the reply side when I answer the form and send it
> > back.
> >
> > The reply side acts like a completely new control box w/no relation to the
> > compose side. I have done the copy and paste for other controls that do mimic
> > each other just fine except in this case.
> >
> > I'm using Outlook 2002 on Windows XP Pro if that has anything to do with it.
> >
> > Any advice appreciated yet again.
> >
> > John
> >
> That is because it is a completely new control. What you need to do is design
> the common elements of the form before you split the form into a compose and
> read form. That way, the contents of the control will autoload into the similar
> control on the read page.
>
> Go straight to Jail, do not pass go, do not collect 2,000,000 dollars!
>
>
>
>
> --
> Hollis Paul
> Mukilteo, WA USA
>
>
>
Re: Datepicker
JohnG 23.09.2006 23:14:01
Well nevermind for now, I got bigger problems. I just tested the datepicker
by "run this form" and I can pick a new date just fine but when I send it to
the set email address and open it up today's date shown, not the date picked
by the user.

So I need to chew this problem over first anyways.


"JohnG" wrote:

[Quoted Text]
> So I should design the form using the seperate read layout, then activate the
> read layout and everything should copy over?
>
>
>
> "Hollis Paul [MVP - Outlook]" wrote:
>
> > In article <91F81551-1E13-46B0-91C9-3D6934EB3491[ at ]microsoft.com>,
> > =?Utf-8?B?Sm9obkc=?= wrote:
> > > But when I copy that control and paste it on reply side of the form it
> > > doesn't take the compose form sides input and copy it to the reply side. As
> > > in when they pick a date on the compose I want that exact same date they
> > > picked to be duplicated to the reply side when I answer the form and send it
> > > back.
> > >
> > > The reply side acts like a completely new control box w/no relation to the
> > > compose side. I have done the copy and paste for other controls that do mimic
> > > each other just fine except in this case.
> > >
> > > I'm using Outlook 2002 on Windows XP Pro if that has anything to do with it.
> > >
> > > Any advice appreciated yet again.
> > >
> > > John
> > >
> > That is because it is a completely new control. What you need to do is design
> > the common elements of the form before you split the form into a compose and
> > read form. That way, the contents of the control will autoload into the similar
> > control on the read page.
> >
> > Go straight to Jail, do not pass go, do not collect 2,000,000 dollars!
> >
> >
> >
> >
> > --
> > Hollis Paul
> > Mukilteo, WA USA
> >
> >
> >
Re: Datepicker
"Hollis Paul [MVP - Outlook]" <nospam[ at ]nospam.com> 23.09.2006 23:33:10
In article <91F81551-1E13-46B0-91C9-3D6934EB3491[ at ]microsoft.com>,
=?Utf-8?B?Sm9obkc=?= wrote:
[Quoted Text]
> But when I copy that control and paste it on reply side of the form it
> doesn't take the compose form sides input and copy it to the reply side. As
> in when they pick a date on the compose I want that exact same date they
> picked to be duplicated to the reply side when I answer the form and send it
> back.
>
> The reply side acts like a completely new control box w/no relation to the
> compose side. I have done the copy and paste for other controls that do mimic
> each other just fine except in this case.
>
> I'm using Outlook 2002 on Windows XP Pro if that has anything to do with it.
>
> Any advice appreciated yet again.
>
> John
>
That is because it is a completely new control. What you need to do is design
the common elements of the form before you split the form into a compose and
read form. That way, the contents of the control will autoload into the similar
control on the read page.

Go straight to Jail, do not pass go, do not collect 2,000,000 dollars!




--
Hollis Paul
Mukilteo, WA USA


Re: Datepicker
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 24.09.2006 14:08:17
Did you bind the date/time control to an Outlook field?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"JohnG" <JohnG[ at ]discussions.microsoft.com> wrote in message news:5B50C7D6-CB83-4CBB-AF91-6B68F03E0C27[ at ]microsoft.com...
[Quoted Text]
> Well nevermind for now, I got bigger problems. I just tested the datepicker
> by "run this form" and I can pick a new date just fine but when I send it to
> the set email address and open it up today's date shown, not the date picked
> by the user.
>
> So I need to chew this problem over first anyways.
>
>
> "JohnG" wrote:
>
>> So I should design the form using the seperate read layout, then activate the
>> read layout and everything should copy over?
>>
>>
>>
>> "Hollis Paul [MVP - Outlook]" wrote:
>>
>> > In article <91F81551-1E13-46B0-91C9-3D6934EB3491[ at ]microsoft.com>,
>> > =?Utf-8?B?Sm9obkc=?= wrote:
>> > > But when I copy that control and paste it on reply side of the form it
>> > > doesn't take the compose form sides input and copy it to the reply side. As
>> > > in when they pick a date on the compose I want that exact same date they
>> > > picked to be duplicated to the reply side when I answer the form and send it
>> > > back.
>> > >
>> > > The reply side acts like a completely new control box w/no relation to the
>> > > compose side. I have done the copy and paste for other controls that do mimic
>> > > each other just fine except in this case.
>> > >
>> > > I'm using Outlook 2002 on Windows XP Pro if that has anything to do with it.
>> > >
>> > > Any advice appreciated yet again.
>> > >
>> > > John
>> > >
>> > That is because it is a completely new control. What you need to do is design
>> > the common elements of the form before you split the form into a compose and
>> > read form. That way, the contents of the control will autoload into the similar
>> > control on the read page.
>> >
>> > Go straight to Jail, do not pass go, do not collect 2,000,000 dollars!
>> >
>> >
>> >
>> >
>> > --
>> > Hollis Paul
>> > Mukilteo, WA USA
>> >
>> >
>> >
Re: Datepicker
JohnG 28.09.2006 17:38:02
Yes I made that mistake exactly Paul. When I created the form it was already
in a seperate read/compose layout. Until you said something I did assume I
had to create both sides myself, but now I understand I don't.

Although I do need a seperate read layout 98% of the form is the same as the
compose I will do as you have instructed thank you.



"Hollis Paul [MVP - Outlook]" wrote:

[Quoted Text]
> In article <F30C85C5-5682-4B4C-A885-17FACFC9C140[ at ]microsoft.com>,
> =?Utf-8?B?Sm9obkc=?= wrote:
> > So I should design the form using the seperate read layout, then activate the
> > read layout and everything should copy over?
> >
> What on earth do you mean by "So I should design the form using the separate
> read layout"? You get a blank form to design. When it opens you can edit
> either the compose page or the read page. (This is a really stupid default
> setup that Microsoft put into their product. People, who do not need a split
> form--that is, who do not really want any differences between the read form and
> the compose form--automatically create a compose form and ignore the read form,
> and then wonder why nobody can see their form. The form should open as one
> unsplit form!) The first thing you should do is drop down the Forms Menu and
> uncheck the Separate Read Layout. Now you can compose all the common features
> of your form. When that is done, you can click the Separate Read Layout menu
> button, and all the controls you have already designed appear on both the
> compose and the read layouts. Now you add the unique elements to the compose
> and/or read layouts. When done you can publish and test the form.
>
> What you have never questioned is whether you, in fact, need a split form. Do
> you really have something on the compose form that you do not want to see on the
> read form? Or, vice versus?
>
> --
> Hollis Paul
> Mukilteo, WA USA
>
>
>
Re: Datepicker
JohnG 28.09.2006 17:41:02
No I did no bindings at all, I thought the field itself was enough. I'm just
beginning to figure out the logical relationships in the forms and what seems
obvious isn't yet second nature to me. Thanks for the reminder.


"Sue Mosher [MVP-Outlook]" wrote:

[Quoted Text]
> Did you bind the date/time control to an Outlook field?
>
> --
> Sue Mosher, Outlook MVP
> Author of Configuring Microsoft Outlook 2003
> http://www.turtleflock.com/olconfig/index.htm
> and Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
> "JohnG" <JohnG[ at ]discussions.microsoft.com> wrote in message news:5B50C7D6-CB83-4CBB-AF91-6B68F03E0C27[ at ]microsoft.com...
> > Well nevermind for now, I got bigger problems. I just tested the datepicker
> > by "run this form" and I can pick a new date just fine but when I send it to
> > the set email address and open it up today's date shown, not the date picked
> > by the user.
> >
> > So I need to chew this problem over first anyways.
> >
> >
> > "JohnG" wrote:
> >
> >> So I should design the form using the seperate read layout, then activate the
> >> read layout and everything should copy over?
> >>
> >>
> >>
> >> "Hollis Paul [MVP - Outlook]" wrote:
> >>
> >> > In article <91F81551-1E13-46B0-91C9-3D6934EB3491[ at ]microsoft.com>,
> >> > =?Utf-8?B?Sm9obkc=?= wrote:
> >> > > But when I copy that control and paste it on reply side of the form it
> >> > > doesn't take the compose form sides input and copy it to the reply side. As
> >> > > in when they pick a date on the compose I want that exact same date they
> >> > > picked to be duplicated to the reply side when I answer the form and send it
> >> > > back.
> >> > >
> >> > > The reply side acts like a completely new control box w/no relation to the
> >> > > compose side. I have done the copy and paste for other controls that do mimic
> >> > > each other just fine except in this case.
> >> > >
> >> > > I'm using Outlook 2002 on Windows XP Pro if that has anything to do with it.
> >> > >
> >> > > Any advice appreciated yet again.
> >> > >
> >> > > John
> >> > >
> >> > That is because it is a completely new control. What you need to do is design
> >> > the common elements of the form before you split the form into a compose and
> >> > read form. That way, the contents of the control will autoload into the similar
> >> > control on the read page.
> >> >
> >> > Go straight to Jail, do not pass go, do not collect 2,000,000 dollars!
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Hollis Paul
> >> > Mukilteo, WA USA
> >> >
> >> >
> >> >
>
Re: Datepicker
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 28.09.2006 18:25:16
The key concept is that a control on the design surface is not the same thing as a property (i.e. field) in the underlying item.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"JohnG" <JohnG[ at ]discussions.microsoft.com> wrote in message news:5093E0CA-29C7-47D4-AD95-4905086A1678[ at ]microsoft.com...
[Quoted Text]
> No I did no bindings at all, I thought the field itself was enough. I'm just
> beginning to figure out the logical relationships in the forms and what seems
> obvious isn't yet second nature to me. Thanks for the reminder.
>
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> Did you bind the date/time control to an Outlook field?

>> "JohnG" <JohnG[ at ]discussions.microsoft.com> wrote in message news:5B50C7D6-CB83-4CBB-AF91-6B68F03E0C27[ at ]microsoft.com...
>> > Well nevermind for now, I got bigger problems. I just tested the datepicker
>> > by "run this form" and I can pick a new date just fine but when I send it to
>> > the set email address and open it up today's date shown, not the date picked
>> > by the user.
>> >
>> > So I need to chew this problem over first anyways.
>> >
>> >
>> > "JohnG" wrote:
>> >
>> >> So I should design the form using the seperate read layout, then activate the
>> >> read layout and everything should copy over?
>> >>
>> >>
>> >>
>> >> "Hollis Paul [MVP - Outlook]" wrote:
>> >>
>> >> > In article <91F81551-1E13-46B0-91C9-3D6934EB3491[ at ]microsoft.com>,
>> >> > =?Utf-8?B?Sm9obkc=?= wrote:
>> >> > > But when I copy that control and paste it on reply side of the form it
>> >> > > doesn't take the compose form sides input and copy it to the reply side. As
>> >> > > in when they pick a date on the compose I want that exact same date they
>> >> > > picked to be duplicated to the reply side when I answer the form and send it
>> >> > > back.
>> >> > >
>> >> > > The reply side acts like a completely new control box w/no relation to the
>> >> > > compose side. I have done the copy and paste for other controls that do mimic
>> >> > > each other just fine except in this case.
>> >> > >
>> >> > > I'm using Outlook 2002 on Windows XP Pro if that has anything to do with it.
>> >> > >
>> >> > > Any advice appreciated yet again.
>> >> > >
>> >> > > John
>> >> > >
>> >> > That is because it is a completely new control. What you need to do is design
>> >> > the common elements of the form before you split the form into a compose and
>> >> > read form. That way, the contents of the control will autoload into the similar
>> >> > control on the read page.
>> >> >
>> >> > Go straight to Jail, do not pass go, do not collect 2,000,000 dollars!
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Hollis Paul
>> >> > Mukilteo, WA USA
>> >> >
>> >> >
>> >> >
>>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net