Curious. It works when I try it (Access 2003, Win XP, regional settings
English UK). This is pasted from one of my comboboxes' RowSource
property:
"test";"with; colon";"with, comma";"without";unquoted
and it displays as
test
with; colon
with, commma
without
unquoted
Alternatives: as David H suggests, write a query to customise the list
contents; or write code that strips out the commas. Possibly you could
substitute "‚" the "single low-9 quotation mark", which is at 0x082 in
western European character sets, or U+201A in Unicode.
On Wed, 16 Feb 2005 03:03:03 -0800, "Andy Dorph"
<(E-Mail Removed)> wrote:
>John:
>
>Thanks for your suggestion. I had read that suggestion under another thread
>and had tried it with no success.
>
>"John Nurick" wrote:
>
>> Hi Andy,
>>
>> Have you tried enclosing the values in quotes?
>>
>> "first";"second,comma";"third"
>>
>> On Tue, 15 Feb 2005 06:11:06 -0800, "Andy Dorph"
>> <(E-Mail Removed)> wrote:
>>
>> >I am populating a list box from values in a table. One of the table values,
>> >a text field, may or may not contain commas (,). When a comma is
>> >encountered, the list box acts as if it is a semi-colon (
, treating the
>> >comma as a delimiter. Is there a workaround?
>> >
>> >Thanks in advance
>>
>> --
>> John Nurick [Microsoft Access MVP]
>>
>> Please respond in the newgroup and not by email.
>>
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.