D
Dirk
In Acces 2003:
I have the following issue. When adding items to a 3 column listbox using
the AddItem method and adding certain values Access fills less columns than
expected.
Example:
"Chair";"320,00";"0%" <----- goes fine!
"Chair;Blue";"320,00";"19%" <----- Results in "Chair;Blue" in the first
column and "320,00" in the second, the last column will be unfilled.
"Chair;Blue;Tall";"320,00";"20%" <----- Results in "Chair;Blue;Tall" in the
first column, the second and third columns remain empty.
In this case it seems like access first evaluates the number of semi-colons
(even quoted ones!) against the number of comumns in the listbox. Then it
discards the fourth semi-colon and everything found thereafter. It then
proceeds to fill the row with values but this time correctly ignores quoted
semi-colons, therefore coming up short on values to fill the entire row with.
I have the following issue. When adding items to a 3 column listbox using
the AddItem method and adding certain values Access fills less columns than
expected.
Example:
"Chair";"320,00";"0%" <----- goes fine!
"Chair;Blue";"320,00";"19%" <----- Results in "Chair;Blue" in the first
column and "320,00" in the second, the last column will be unfilled.
"Chair;Blue;Tall";"320,00";"20%" <----- Results in "Chair;Blue;Tall" in the
first column, the second and third columns remain empty.
In this case it seems like access first evaluates the number of semi-colons
(even quoted ones!) against the number of comumns in the listbox. Then it
discards the fourth semi-colon and everything found thereafter. It then
proceeds to fill the row with values but this time correctly ignores quoted
semi-colons, therefore coming up short on values to fill the entire row with.