Data1.Recordset.Sort ["Barcode ID DESC"]
Do Until Data1.Recordset.EOF
HE = Data1.Recordset("Barcode ID")
MsgBox HE
Data1.Recordset.MoveNext
Loop
I've tried multiple variations of the first line, what is wrong, if i have [ ] its says Compile error, external name not defined.