View Single Post
  #2  
Old August 8th 07, 05:59 AM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default Copying Fields within a form

In article ,
=?Utf-8?B?TG9yaURl?= wrote:
Can someone tell me how I can copy and paste the fields
without this happening?

What you are doing is copying and pasting the controls. While Outlook
automatically changes the names of the controls so that they are
different in the namespace of the form, it does not automatically
change the names of the custom fields to which the new controls are
bound. Since the corresponding controls in each section is bound to
the same custom field, it shows the same data.

What you need to do is define two new sets of custom fields, of the
same type as in the original set, then, in design mode, right-click
each pasted control and bind it to the appropriate new Outlook custom
field. A word to the wise, include a numeral in the name of the new
custom fields, so you can bind the new controls to the field in the
proper set.

--
Hollis Paul
Mukilteo, WA USA


Ads