I have added the Notes field to a custom Contact form. Is
there a way to get it to print with the XPrint Active X
control?
If not is there a way to bind a user-defined control to
the Notes field so that the notes I now have in this field
populate my new control and print with the X-print?
Thanks
See the information about XPrint at
http://www.slipstick.com/dev/customprint.htm
I find a better and more flexible solution is to output what I want
directly to a Word document using code and formatting it the way I
want.
A form can only have 1 Notes control and there is one already on the
Contact form. Did you disable the existing one? You can't bind a
textbox control to the Body property (Notes) but you can put code in
the form to show Item.Body in your control and to save the control's
contents to Item.Body when the form is closed or saved. A textbox
doesn't have the flexibility that the built-in Notes control does
however.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> I have added the Notes field to a custom Contact form. Is
> there a way to get it to print with the XPrint Active X
[quoted text clipped - 5 lines]
>
> Thanks
Kate - 17 Feb 2004 14:45 GMT
Ken
Thank you..
The user who created the form removed the notes field from
page 1 of the form. (I've read that page 1 shouldn't be
customized but what she did seems to be working so far...)
I am not familiar with VB Script. If you could help me
with the script that would enable me to use your
suggestion of putting code in the form to show Item.Body
in the control and to save the control's contents to
Item.Body when the form is closed or saved that would get
us where we need to go unless the text box would impose
limitaions we are not aware of...
What functionality would we be giving up by using the text
box vs the notes field?
Again, thank you for your help.
PS We opted out of the Word solution because the form is 4
pages and we wanted to have control over which pages
printed. If you feel this was not a good decision please
let us know...we value your opinion
>-----Original Message-----
>See the information about XPrint at
[quoted text clipped - 23 lines]
>
>.
Ken Slovak - [MVP - Outlook] - 17 Feb 2004 15:43 GMT
A textbox control doesn't do things like formatting URL's or links,
for one limitation.
Code would look something like this. This assumes that the tab you are
using has been named "MyTab" and the new textbox control is named
"txtNote" and the user property is named "NoteBody".
In the Item_Open event handler in the form:
Dim oInspector
Dim oControl
Dim oPage
Set oInspector = Item.GetInspector
Set oPage = oInspector.ModifiedFormPages("MyTab")
Set oControl = oPage.Controls("txtNote")
oControl.Text = Item.UserProperties("NoteBody")
In the Item_Write and Item_Close event handlers just get the control
again and use this line:
Item.UserProperties("NoteBody") = oControl.Text
I'd also go to http://www.slipstick.com/dev/forms.htm for a lot more
information about custom forms and designing and coding them.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Ken
>
[quoted text clipped - 21 lines]
> printed. If you feel this was not a good decision please
> let us know...we value your opinion