LeonelSanchezJr
Programmer
I have a table which has data as follows:
Doc# DocDate DocTime DocStatus
123 2001-06-19 00:00:00.000 08:30:01 ABC
123 2001-06-18 00:00:00.000 09:50:49 DEF
123 2001-06-19 00:00:00.000 02:00:01 GHI
In this example, I need to pull the first record because it has the most recent DATE and TIME.
How can I do this? B-)
Doc# DocDate DocTime DocStatus
123 2001-06-19 00:00:00.000 08:30:01 ABC
123 2001-06-18 00:00:00.000 09:50:49 DEF
123 2001-06-19 00:00:00.000 02:00:01 GHI
In this example, I need to pull the first record because it has the most recent DATE and TIME.
How can I do this? B-)