Do Until rs.EOF
item = CStr(rs("id")) + ";" + CStr(rs("fecha_vencimiento")) + ";" + rs("descripcion") + ";" + CStr(FormatPercent(rs("iva"), 2)) + ";" + CStr(FormatCurrency(rs("importe"), 2))
lista_deudas.AddItem (item)
rs.MoveNext
Loop
i've got the above code.. and i've got a problem too.
CStr(FormatPercent(rs("iva"), 2) = 27,00%
and
CStr(FormatCurrency(rs("importe"), 2)) = $126,40
I´ve got a listbox with x number of items and 5 column per item.
when i do an ADDITEM (string)... the string I use has ";" to seperate the different columns. BUT the currency column and the percentaje column have "," and Access asumes that the "," delimitates the columns too... and the result is a row with 7 columns instead of 5.
The fact is that I want to have a column in a listbox with "," in the string...
is it possible¿? how??
am i clear?
sorry for my poor english
item = CStr(rs("id")) + ";" + CStr(rs("fecha_vencimiento")) + ";" + rs("descripcion") + ";" + CStr(FormatPercent(rs("iva"), 2)) + ";" + CStr(FormatCurrency(rs("importe"), 2))
lista_deudas.AddItem (item)
rs.MoveNext
Loop
i've got the above code.. and i've got a problem too.
CStr(FormatPercent(rs("iva"), 2) = 27,00%
and
CStr(FormatCurrency(rs("importe"), 2)) = $126,40
I´ve got a listbox with x number of items and 5 column per item.
when i do an ADDITEM (string)... the string I use has ";" to seperate the different columns. BUT the currency column and the percentaje column have "," and Access asumes that the "," delimitates the columns too... and the result is a row with 7 columns instead of 5.
The fact is that I want to have a column in a listbox with "," in the string...
is it possible¿? how??
am i clear?
sorry for my poor english