You are actually storing multiple values in one field? That's a cardinal sin
in normalization.
Repent, and change your table design so you have a related table to hold
these values as multiple *records*. The one-to-many relation will set you
free from your immediate problem, and give you the chance to do dozens of
things you cannot currently do without writing ridiculous parsing routines.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"David" <go********@googlemail.com> wrote in message
news:11**********************@p10g2000cwp.googlegr oups.com...
Hi,
I have a field which holds the Product IDs of related products in a
format of:
1#5#4#7
Where the numbers are the Related Product IDs.
I am trying to create a form to manage this info.
I thought just have two list boxes. One with all the product names and
the other with all the related products. An add & remove between them.
I understand how I could add products by just adding #number when any
product is added.
How do I remove a product from the list box whilst also removing the
correct #number or number (if it was the first) from the data field
Appreciate your halp
David