H
http
The following code returns not the first, but the last record:
Set db = CurrentDb()
Set tblspec = db.OpenRecordset("tblPIDspec")
tblspec.MoveFirst
MsgBox tblspec("ID")
The MsgBox shows "10" because the Table includes 10 records.
How ist this possible?
thx.
Thomas
Set db = CurrentDb()
Set tblspec = db.OpenRecordset("tblPIDspec")
tblspec.MoveFirst
MsgBox tblspec("ID")
The MsgBox shows "10" because the Table includes 10 records.
How ist this possible?
thx.
Thomas