Lords of this fantastic forum, I have this code:
Dim DataAnterior As Date
Dim Db As Database, Rs As Recordset, Sql As String
Set Db = CurrentDb
Set Rs = Db.OpenRecordset("SELECT DataRealizada FROM TblPassosStatus WHERE CodProduto =" & CodProduto)
DataAnterior = Rs.Fields(0)
Using rs.Fields (0) I get the first column value.
How to use MoveLast for the last column value even if
this value is null?
Thank you.