PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming Can't save combobox data

Reply

Can't save combobox data

 
Thread Tools Rate Thread
Old 04-07-2003, 03:22 PM   #1
Tobias Ortmann
Guest
 
Posts: n/a
Default Can't save combobox data


Hi,

i've created a custom form ipm.post...., with some comboboxes, listboxes
and textboxes, all bind to fields. The possible values for one combobox is
generated with code in the item_open event. It is filled with the
distingishedNames of all OUs in the current domain.
The possible values for the other combo and listboxes are filled in the
oncustomproperty_change event with other distinguishednames for some AD
properties, in cause of the selection in the first combo. The textboxes are
filled by hand.

If I save the Form to a folder only the textbox values get saved. The list
and comboboxes are empty if i reopen the item.

Why?


Here is the code for the item_open:

Function Item_Open()

Dim MyPage
Dim strOU
Dim arrOUs

Set MyPage = Item.GetInspector.ModifiedFormPages("Nachricht")

arrOUs = ListAllOUs()

For Each strOU In arrOUs
MyPage.ctlOU.AddItem strOU
Next

Set MyPage = Nothing
End Function

My intention for this form is to save some settings for a workflow app
here. The form should work like microsofts security settings form.


Please can someone give a hint!

Thanks in advance


cu
tobias
  Reply With Quote
Old 04-07-2003, 05:25 PM   #2
Tobias Ortmann
Guest
 
Posts: n/a
Default Re: Can't save combobox data

Every things fine now. Sometimes rtfm helps :-)


cu
tobias

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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