A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Code runs in design mode



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old January 26th 06, 08:36 PM posted to microsoft.public.outlook.program_forms
karlman
external usenet poster
 
Posts: 2
Default Code runs in design mode

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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook should have a mini-mode, like Media Player's mini-mode. glen Outlook - General Queries 1 February 27th 06 06:16 PM
Search Mode donbowyer Outlook - Installation 0 February 24th 06 05:39 PM
Inconsistent Calendar Info -- Design problem? Any Fixes? Toàn Outlook - Calandaring 0 February 14th 06 01:56 PM
How can I design a task form to have an attachment? SPC Arndt Outlook - Using Forms 4 January 23rd 06 05:51 PM
"Design This Form" strange behaviour and not displaying as it should James Cassidy Outlook - Using Forms 0 January 21st 06 03:01 PM


All times are GMT +1. The time now is 07:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.