C
CP
Hi: I want to add an item in a Listbox but when I try to execute my message
in the Additem, VBA considers "," and ";" like a enter.
And, here the VBA Code of the combobox after update
List12.AddItem "SELECT " + oRst.Fields("CDRUBR").Value + ", COUNT (*)
FROM " + Kvalenv + "1DBO." + oRst.Fields("CDSTDO").Value + "" +
oRst.Fields("CDINFO").Value + " WHERE " + oRst.Fields("CDRUBR").Value + " =
'old code' GROUP BY " + oRst.Fields("CDRUBR").Value + " ;"
We don't see "," and ";" in the listbox.
in the Additem, VBA considers "," and ";" like a enter.
And, here the VBA Code of the combobox after update
List12.AddItem "SELECT " + oRst.Fields("CDRUBR").Value + ", COUNT (*)
FROM " + Kvalenv + "1DBO." + oRst.Fields("CDSTDO").Value + "" +
oRst.Fields("CDINFO").Value + " WHERE " + oRst.Fields("CDRUBR").Value + " =
'old code' GROUP BY " + oRst.Fields("CDRUBR").Value + " ;"
We don't see "," and ";" in the listbox.