cuok
Programmer
- Dec 24, 2001
- 201
Hi friends,
I'll appreciate any help and thanks in advance!!
My problem is to retrieve the latest value from a column.
I have a table with thos fields:
ID (text)
DateCheck (dd/mm/yy format)
TestA (integer)
TestB (integer)
TestC (integer)
……
The user must enter the DateCheck but must not enter all other fields!
So after having, let say, 8 records the table can be like this:
ID DateCheck TestA TestB TestC
111 01/01/00 56
222 03/02/00 58
222 01/01/02 90
333 01/01/00 66
111 17/02/00 89
333 01/10/03 86
111 01/10/03 45
222 01/01/01 77
The query will run only for ‘TestA’
The query must answer the quistion: Give me the latest ‘TestA’ that has a ‘DateCheck’!
So, in my example the answer is:
111 17/02/00 89
222 01/01/02 90
333 01/01/00 66
Many Thank
CUOK
I'll appreciate any help and thanks in advance!!
My problem is to retrieve the latest value from a column.
I have a table with thos fields:
ID (text)
DateCheck (dd/mm/yy format)
TestA (integer)
TestB (integer)
TestC (integer)
……
The user must enter the DateCheck but must not enter all other fields!
So after having, let say, 8 records the table can be like this:
ID DateCheck TestA TestB TestC
111 01/01/00 56
222 03/02/00 58
222 01/01/02 90
333 01/01/00 66
111 17/02/00 89
333 01/10/03 86
111 01/10/03 45
222 01/01/01 77
The query will run only for ‘TestA’
The query must answer the quistion: Give me the latest ‘TestA’ that has a ‘DateCheck’!
So, in my example the answer is:
111 17/02/00 89
222 01/01/02 90
333 01/01/00 66
Many Thank
CUOK