Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

Replacement for Multiselect List Box Suggestions: Access 2007

Hello, I have two list boxes on a form that are populated by two indexed tables (ID PK and then a field for the category).  I had these in the form as multi-select list boxes which worked out great for the form layout and data entry, but it is causing some havoc with other parts of the DB code.  My question is, what other options do I have to replace this list box function?  I would like to store the results in the same way (comma separated list), but not have the 'multi-select' list box property.  
Does anyone know a method to allow for data entry similar to the multi-select list box but without the compatability issues that crop up because of this type of listbox?

Thanks,
Bevo
0
Bevos
Asked:
Bevos
3 Solutions
 
Patrick MatthewsCommented:
I presume you mean that this is a multi-valued field.

I recommend avoiding the official multi-valued field and also avoid bundling values into a calculated.

Rather, use a separate, related table to store the one-to-many values.  (In a multi-valuied field access is actually doing that for you behind the scenes.)

The only time I would recommend a MVF is if you plan to integrate the db with sharepoint.
0
 
GRayLCommented:
Open the form in design view, right click - select Properties, Other tab, and set the MultiSelect property to None.  You can switch between whether you want, or do not want the multiselect feature within the same control - it is not the case of another control.
0
 
Nick67Commented:
<it is causing some havoc with other parts of the DB code.>
<without the compatability issues that crop up>

I suspect it is not the control that is the problem :)

Please elaborate on the scenario at some length, and as always, a sample is a happy thing.
An accdb with multi-valued fields if you must
Actually, an accdb WITH them.
And then I'll build you a sample to show you how to be rid of such evil permanently :)

Nick67
0
 
BevosAuthor Commented:
Thanks for giving me some insight into other choices than multi-value list boxes.
0
 
GRayLCommented:
Thanks, glad to help.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now