Hello vbforums
I have a table like this
ID---------- Item
1 ---------- aaa
1-----------bbb
I get this :
aaa bbb
I want to sort them the same way but in Flexgrid.
The output is:
ID---------- Item
1 ---------- aaa
1-----------bbb
But I need this output:
ID ---- Item
1 ------ aaa bbb
Thank you
I have a table like this
ID---------- Item
1 ---------- aaa
1-----------bbb
Code:
Select* from Tbl where ID=1 group BY ID, Item"
Do While Not Rs.EOF
Text1.Text = Text1.Text & " " & Rs!Item
Rs.MoveNext
Loop
aaa bbb
I want to sort them the same way but in Flexgrid.
Code:
Rs.MoveLast
Rs.MoveFirst
With Me.VBFlexGrid1
Do While Not Rs.EOF
.TextMatrix(i, 1) = Rs!ID
.TextMatrix(i, 2) = Rs!Item
Rs.MoveNext
If Rs.EOF = False Then
i = i + 1
End If
Loop
End With
ID---------- Item
1 ---------- aaa
1-----------bbb
But I need this output:
ID ---- Item
1 ------ aaa bbb
Thank you