Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / September 2006

Tip: Looking for answers? Try searching our database.

Datepicker

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JohnG - 23 Sep 2006 22:22 GMT
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
Sue Mosher [MVP-Outlook] - 23 Sep 2006 23:00 GMT
"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.

Signature

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
 

> Following your previous advice Sue I installed the mscomctl2.ocx, registered
> it and installed it to the control box.
[quoted text clipped - 17 lines]
>
> John
Hollis Paul [MVP - Outlook] - 23 Sep 2006 23:40 GMT
> 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
[quoted text clipped - 11 lines]
>
> 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
JohnG - 24 Sep 2006 00:00 GMT
So I should design the form using the seperate read layout, then activate the
read layout and everything should copy over?

> > 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
[quoted text clipped - 22 lines]
> Hollis Paul
> Mukilteo, WA  USA
JohnG - 24 Sep 2006 00:14 GMT
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.

> So I should design the form using the seperate read layout, then activate the
> read layout and everything should copy over?
[quoted text clipped - 25 lines]
> > Hollis Paul
> > Mukilteo, WA  USA
Sue Mosher [MVP-Outlook] - 24 Sep 2006 15:08 GMT
Did you bind the date/time control to an Outlook field?

Signature

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
 

> 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
[quoted text clipped - 32 lines]
>> > Hollis Paul
>> > Mukilteo, WA  USA
JohnG - 28 Sep 2006 18:41 GMT
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.

> Did you bind the date/time control to an Outlook field?
>
[quoted text clipped - 34 lines]
> >> > Hollis Paul
> >> > Mukilteo, WA  USA
Sue Mosher [MVP-Outlook] - 28 Sep 2006 19:25 GMT
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.

Signature

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
 

> 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.
>
>> Did you bind the date/time control to an Outlook field?

>> > 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
[quoted text clipped - 32 lines]
>> >> > Hollis Paul
>> >> > Mukilteo, WA  USA
Hollis Paul [MVP - Outlook] - 24 Sep 2006 16:24 GMT
> 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
JohnG - 28 Sep 2006 18:38 GMT
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.

> > So I should design the form using the seperate read layout, then activate the
> > read layout and everything should copy over?
[quoted text clipped - 20 lines]
> Hollis Paul
> Mukilteo, WA  USA
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.