You can hold down the Shift key as you open the form to prevent its code from running. You may also want to check your field values on the All Fields page before you save as an .oft file backup or publish for production use.
--
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
"karlman" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>I notice a small quirk that caused me some trouble. I can work around
> it but was wondering if there is a better way.
>
> I have a custom form that sets some of the user defined fields upon
> opening. It does this differently whether it is a new item or existing
> item. One of the fields I populate with the name of the current user.
>
> I had a strange problem where my name was showing up on these forms in
> production when I never touched it. Apparently what is happening is
> when I open the form in design mode the code is executing and
> populating this field. Later when I publish the form the field is
> prepopulated with my name in that field upon every new instance of the
> form.
>
> Is there an easy way to prevent this?
>
> Thank you!
>
> Karl Albrecht
>