When I use:
Each record correctly finds it way to the list box.
But when I use:
The records all scrambeled in the list box. I have Part Numbers in the Date column, Dates in the Log Number column, its just all over the place.
Why is this happening?
Code:
If .Fields("Nomenclature") = "" & a & "" Then
Me.List2.AddItem (.Fields("Nomenclature") & ";" & .Fields("MaterialNumber") & ";" & .Fields("LogNumber") & ";" & .Fields("CreateDate"))
Each record correctly finds it way to the list box.
But when I use:
Code:
If .Fields("Nomenclature") Like "*" & a & "*" Then
Me.List2.AddItem (.Fields("Nomenclature") & ";" & .Fields("MaterialNumber") & ";" & .Fields("LogNumber") & ";" & .Fields("CreateDate"))
The records all scrambeled in the list box. I have Part Numbers in the Date column, Dates in the Log Number column, its just all over the place.
Why is this happening?