Are you entering that code in the "master" form that you enter into design
mode for, or are you maybe customizing an instance of the "master" form
without publishing your changes? Are you doing an actual "publish", or a
"save"?
If you follow these steps, you should always be able to edit an existing
form and publish your changes:
- choose Tools -> Forms -> Design A Form...
- select your Forms Library and choose the existing form that you want to
design
- make your changes, and choose Tools -> Forms -> Publish Form As... and
ensure you choose the same location that you opened the form
If you close the form and repeat the above process, your changes will be
there.
--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog:
http://blogs.officezealot.com/legault/