After choosing the form,
filling in the information fields, saving it, and closing it, all seems fine.
However, once I open the newly saved contact in the contacts folder, all
information except the contact name has been erased.
Well, I started up my Vista client and opened Outlook 2007, brought up a blank
Contact form and couldn't figure out how to get into design mode. Help was no
help, either. But, eventually, I dismissed the blank form, found tools, forms,
and design a form, and got a contact form with the developer tab. I must say,
if I hadn't already decided to exit Outlook forms development, the ribbon would
certainly have driven me out. If this bastard creation from Microsoft irritates
you as much as it does me, you may want to look at the following:
http://msmvps.com/blogs/bradley/archive/2007/04/27/office-2007-interesting-want-
your-classic-menu-back.aspx
Getting back to your problem, I was able to determine, sort of, that a form is
not opened in split mode when you get into the developer tab. So, you really
should see what you input. Which gets back to the basic understanding of what
an Outlook form is. An Outlook form is really only the template of how to
display the data in an Outlook data item. So, if you drop a control, like a
text box, onto the design worktable, then the parameters about that control are
placed in the format file, but no data is saved in the format file. So, if you
build a form, publish it, then open it again, type some data into a control then
save it, the instance of the form is lost, and just the data in Outlook fields
are saved to the data item. What you see on the screen, when you open a saved
data item, is the marriage of the formatting information contained in the
Outlook form that is saved to your personal forms library, and the data in
Outlook fields. To get your control inputs to be saved, you need to bind the
control to an Outlook field. You have to create those custom Outlook fields to
go with your custom controls that you drop onto the design workspace. If you
don't, none of the data that you enter gets saved.
I am betting that what you need to do is, open your custom form in design form,
right click your custom controls, and then select an existing Outlook field to
bind it to, or create a new custom Outlook field to bind the data to. Then,
republish the form using the canonical name of MyFormName_VerXXX. Including the
version number with the name will prevent you from having the common problem
with the forms cache, where you get the old form even though you have
republished the form with the same name.