Listbox bound

Status
Not open for further replies.
T

TWlrZSBP

Hello,

I have the same problem

I have a simple listbox in outlook form,

when i make multi selction, if i lose focus on the list then all selected

values are gone

i set the property MultiSelect = multi ==> same problem

if i set it to "Extended" ==-> again same problem

only single value works; but i need multiselection ?

I found similer problem but i didn't know how to bound the control

here:

?dg=microsoft.public.outlook.progra...en-us-office-outlook&cr=US&sloc=en-us&m=1&p=1

Hlep please
 
See http://www.outlookcode.com/article.aspx?ID=38 for a screen shot showing

how to find a control to a field, and also see

http://www.outlookcode.com/article.aspx?ID=32, the section on list boxes.

Sue Mosher

"Mike O" <MikeO> wrote in message

news:68029F33-411D-43BB-8537-7FBEDF5584EF@microsoft.com...
> Hello,

> I have the same problem

> I have a simple listbox in outlook form,

> when i make multi selction, if i lose focus on the list then all selected
> values are gone

> i set the property MultiSelect = multi ==> same problem
> if i set it to "Extended" ==-> again same problem

> only single value works; but i need multiselection ?

> I found similer problem but i didn't know how to bound the control

> here:

> ?dg=microsoft.public.outlook.progra...en-us-office-outlook&cr=US&sloc=en-us&m=1&p=1

> Hlep please
>
 
Thank you Sue,

But what is written there is not easy for me, i just need an example.

It's written, "Use code in the Item_Write event to store the selections in a

delimited list in a text property, then reverse the process to reload the

selections in the Item_Open event handler" .

this is not clear for me. but thank you any way

"Sue Mosher [MVP]" wrote:


> See http://www.outlookcode.com/article.aspx?ID=38 for a screen shot showing
> how to find a control to a field, and also see
> http://www.outlookcode.com/article.aspx?ID=32, the section on list boxes.

> > Sue Mosher
> > >

> "Mike O" <MikeO> wrote in message
> news:68029F33-411D-43BB-8537-7FBEDF5584EF@microsoft.com...
> > Hello,
> > I have the same problem
> > I have a simple listbox in outlook form,
> > when i make multi selction, if i lose focus on the list then all selected
> > values are gone
> > i set the property MultiSelect = multi ==> same problem
> > if i set it to "Extended" ==-> again same problem
> > only single value works; but i need multiselection ?
> > I found similer problem but i didn't know how to bound the control
> > here:
> > ?dg=microsoft.public.outlook.progra...en-us-office-outlook&cr=US&sloc=en-us&m=1&p=1
> > Hlep please
> >


>
 
The form you can download from the article on list boxes has such code

examples.

Sue Mosher

"Mike O" <MikeO> wrote in message

news:D4F81799-C8DA-40D2-B4DB-732A7EA4FF7E@microsoft.com...
> Thank you Sue,

> But what is written there is not easy for me, i just need an example.
> It's written, "Use code in the Item_Write event to store the selections in
> a
> delimited list in a text property, then reverse the process to reload the
> selections in the Item_Open event handler" .

> this is not clear for me. but thank you any way

> "Sue Mosher [MVP]" wrote:
>
> > See http://www.outlookcode.com/article.aspx?ID=38 for a screen shot
> > showing
> > how to find a control to a field, and also see
> > http://www.outlookcode.com/article.aspx?ID=32, the section on list boxes.



>

>> "Mike O" <MikeO> wrote in message
> > news:68029F33-411D-43BB-8537-7FBEDF5584EF@microsoft.com...
> > > Hello,
> >> > I have the same problem
> >>>>> > I have a simple listbox in outlook form,
> >> > when i make multi selction, if i lose focus on the list then all
> > > selected
> > > values are gone
> >> > i set the property MultiSelect = multi ==> same problem
> > > if i set it to "Extended" ==-> again same problem
> >> > only single value works; but i need multiselection ?
> >>> > I found similer problem but i didn't know how to bound the control
> >> > here:
> >>> > ?dg=microsoft.public.outlook.progra...en-us-office-outlook&cr=US&sloc=en-us&m=1&p=1
> >>> > Hlep please
> > >

>

>
>>
 
Thank you Sue,

The last listbox using the Item_write doesn't work

i made a stop statement to see if the item_write fires but it doesn't

any idea?

"Sue Mosher [MVP]" wrote:


> The form you can download from the article on list boxes has such code
> examples.
> > Sue Mosher
> > >

> "Mike O" <MikeO> wrote in message
> news:D4F81799-C8DA-40D2-B4DB-732A7EA4FF7E@microsoft.com...
> > Thank you Sue,
> > But what is written there is not easy for me, i just need an example.
> > It's written, "Use code in the Item_Write event to store the selections in
> > a
> > delimited list in a text property, then reverse the process to reload the
> > selections in the Item_Open event handler" .
> > this is not clear for me. but thank you any way
> > "Sue Mosher [MVP]" wrote:
> >
> >> See http://www.outlookcode.com/article.aspx?ID=38 for a screen shot
> >> showing
> >> how to find a control to a field, and also see
> >> http://www.outlookcode.com/article.aspx?ID=32, the section on list boxes.

>
> >
> >> "Mike O" <MikeO> wrote in message
> >> news:68029F33-411D-43BB-8537-7FBEDF5584EF@microsoft.com...
> >> > Hello,
> >> >> > I have the same problem
> >> >> >> >> >> > I have a simple listbox in outlook form,
> >> >> > when i make multi selction, if i lose focus on the list then all
> >> > selected
> >> > values are gone
> >> >> > i set the property MultiSelect = multi ==> same problem
> >> > if i set it to "Extended" ==-> again same problem
> >> >> > only single value works; but i need multiselection ?
> >> >> >> > I found similer problem but i didn't know how to bound the control
> >> >> > here:
> >> >> >> > ?dg=microsoft.public.outlook.progra...en-us-office-outlook&cr=US&sloc=en-us&m=1&p=1
> >> >> >> > Hlep please
> >> >
> >
> >>


>
 
Ok, Item_write is fired when formis saved.

but my problem is still there, maybe i couldn't explain.

In my form, i have 3 multi listbox

when i make a multi selection in any one of them, then i go to another

control, all selected values are gone. even before i close the form

any idea?

"Sue Mosher [MVP]" wrote:


> The form you can download from the article on list boxes has such code
> examples.
> > Sue Mosher
> > >

> "Mike O" <MikeO> wrote in message
> news:D4F81799-C8DA-40D2-B4DB-732A7EA4FF7E@microsoft.com...
> > Thank you Sue,
> > But what is written there is not easy for me, i just need an example.
> > It's written, "Use code in the Item_Write event to store the selections in
> > a
> > delimited list in a text property, then reverse the process to reload the
> > selections in the Item_Open event handler" .
> > this is not clear for me. but thank you any way
> > "Sue Mosher [MVP]" wrote:
> >
> >> See http://www.outlookcode.com/article.aspx?ID=38 for a screen shot
> >> showing
> >> how to find a control to a field, and also see
> >> http://www.outlookcode.com/article.aspx?ID=32, the section on list boxes.

>
> >
> >> "Mike O" <MikeO> wrote in message
> >> news:68029F33-411D-43BB-8537-7FBEDF5584EF@microsoft.com...
> >> > Hello,
> >> >> > I have the same problem
> >> >> >> >> >> > I have a simple listbox in outlook form,
> >> >> > when i make multi selction, if i lose focus on the list then all
> >> > selected
> >> > values are gone
> >> >> > i set the property MultiSelect = multi ==> same problem
> >> > if i set it to "Extended" ==-> again same problem
> >> >> > only single value works; but i need multiselection ?
> >> >> >> > I found similer problem but i didn't know how to bound the control
> >> >> > here:
> >> >> >> > ?dg=microsoft.public.outlook.progra...en-us-office-outlook&cr=US&sloc=en-us&m=1&p=1
> >> >> >> > Hlep please
> >> >
> >
> >>


>
 
Ok, i just found it in your post "Have to use Keyword not text"

Thanks a lot Sue

"Mike O" wrote:



> Thank you Sue,
> The last listbox using the Item_write doesn't work
> i made a stop statement to see if the item_write fires but it doesn't

> any idea?

> "Sue Mosher [MVP]" wrote:
>
> > The form you can download from the article on list boxes has such code
> > examples.
> > > > Sue Mosher
> > > > > > > > "Mike O" <MikeO> wrote in message
> > news:D4F81799-C8DA-40D2-B4DB-732A7EA4FF7E@microsoft.com...
> > > Thank you Sue,
> > > > But what is written there is not easy for me, i just need an example.
> > > It's written, "Use code in the Item_Write event to store the selections in
> > > a
> > > delimited list in a text property, then reverse the process to reload the
> > > selections in the Item_Open event handler" .
> > > > this is not clear for me. but thank you any way
> > > > "Sue Mosher [MVP]" wrote:
> > > >> See http://www.outlookcode.com/article.aspx?ID=38 for a screen shot
> > >> showing
> > >> how to find a control to a field, and also see
> > >> http://www.outlookcode.com/article.aspx?ID=32, the section on list boxes.

> >
> > >
> > >> "Mike O" <MikeO> wrote in message
> > >> news:68029F33-411D-43BB-8537-7FBEDF5584EF@microsoft.com...
> > >> > Hello,
> > >> > >> > I have the same problem
> > >> > >> > >> > >> > >> > I have a simple listbox in outlook form,
> > >> > >> > when i make multi selction, if i lose focus on the list then all
> > >> > selected
> > >> > values are gone
> > >> > >> > i set the property MultiSelect = multi ==> same problem
> > >> > if i set it to "Extended" ==-> again same problem
> > >> > >> > only single value works; but i need multiselection ?
> > >> > >> > >> > I found similer problem but i didn't know how to bound the control
> > >> > >> > here:
> > >> > >> > >> > ?dg=microsoft.public.outlook.progra...en-us-office-outlook&cr=US&sloc=en-us&m=1&p=1
> > >> > >> > >> > Hlep please
> > >> > >
> > >
> > >>

> >
 
Status
Not open for further replies.

Similar threads

Back
Top