zelarra821
Registered User.
- Local time
- Today, 11:20
- Joined
- Jan 14, 2019
- Messages
- 835
Good afternoon.
I need to get the last value as of today in a this query:
I try like this and it doesn't work:
Nz(DLookup("Registro", "CProximasCitas", "Fecha>=#" & Format(Date, "mm-dd-yyyy") & "#"), 0)
It returns the value of today, that is, "Pesada", and it would have to return "Médico de cabecera".
I have tried in various ways, but none satisfactory.
Can you help me? Thanks.
I need to get the last value as of today in a this query:
I try like this and it doesn't work:
Nz(DLookup("Registro", "CProximasCitas", "Fecha>=#" & Format(Date, "mm-dd-yyyy") & "#"), 0)
It returns the value of today, that is, "Pesada", and it would have to return "Médico de cabecera".
I have tried in various ways, but none satisfactory.
Can you help me? Thanks.