A aru Member Mar 15, 2010 #1 hi ListboxView1.Clear For i=0 to Reader.FieldCount-1 ListboxView1.Add(Reader.GetValue(i)) Next this is my code iwant to list three record in alist box like this student|address|phone is it possible? can you help me? Aru
hi ListboxView1.Clear For i=0 to Reader.FieldCount-1 ListboxView1.Add(Reader.GetValue(i)) Next this is my code iwant to list three record in alist box like this student|address|phone is it possible? can you help me? Aru
M mjcoon Well-Known Member Licensed User Mar 15, 2010 #2 I imagine that you want to display three fields from a single record/row. In which case the code might be B4X: ListboxView1.Add(Reader.GetValue(0) & "|" & Reader.GetValue(1) & "|" & Reader.GetValue(2)) if those fields are numbers 0, 1 and 2. HTH, Mike.
I imagine that you want to display three fields from a single record/row. In which case the code might be B4X: ListboxView1.Add(Reader.GetValue(0) & "|" & Reader.GetValue(1) & "|" & Reader.GetValue(2)) if those fields are numbers 0, 1 and 2. HTH, Mike.