Hi I use this code ;
Dim tumrecord As New ADODB.Recordset
With tumrecord
strrecord = [sql code OK ]
.Open strrecord, CurrentProject. Connection, adOpenStatic
If .RecordCount > 0 Then
Do Until .EOF
Me.txt1 = .Fields("Order_ Number")
.MoveNext
Loop
End If
.Close
End With
my Sql code is ok that is correctly and .recorcount find 26 items but
txt1 take only see end data ; And I see only one record but I want this textbox must be 26 and see all data How can I do ;
Thanks for read and imagine for me
Dim tumrecord As New ADODB.Recordset
With tumrecord
strrecord = [sql code OK ]
.Open strrecord, CurrentProject. Connection, adOpenStatic
If .RecordCount > 0 Then
Do Until .EOF
Me.txt1 = .Fields("Order_ Number")
.MoveNext
Loop
End If
.Close
End With
my Sql code is ok that is correctly and .recorcount find 26 items but
txt1 take only see end data ; And I see only one record but I want this textbox must be 26 and see all data How can I do ;
Thanks for read and imagine for me
Comment