W
wheather girl
Hi
I have a table that has records that are constently superseded, they have
the same ID number, as to recognise that it is the same document but we need
to supersede these documents when we have to add extra data/information in
the document, so hence we give it a new rev (revision) number start at o then
work our way up to 1 when it has superseded No. 0 and go to No. 2 when it has
superseded No. 1 and so on and so on.
What I need to do is a query based on the table, but to only return the
highest number of that record, so it only returns the latest version of that
document. ex there might be a rev 2 of a particulat document, which means
there are 3 versions of that same document, but i only need the query to
return the highest rev of that document, not all the revs. and so on and so
on for each record/document in the table.
Firstly I know I will have to group the query by ID No. then somehow use a
formula for it to return the highest rev no. what formula will recognise the
highest value out of that same group.
any ideas, thanks
I have a table that has records that are constently superseded, they have
the same ID number, as to recognise that it is the same document but we need
to supersede these documents when we have to add extra data/information in
the document, so hence we give it a new rev (revision) number start at o then
work our way up to 1 when it has superseded No. 0 and go to No. 2 when it has
superseded No. 1 and so on and so on.
What I need to do is a query based on the table, but to only return the
highest number of that record, so it only returns the latest version of that
document. ex there might be a rev 2 of a particulat document, which means
there are 3 versions of that same document, but i only need the query to
return the highest rev of that document, not all the revs. and so on and so
on for each record/document in the table.
Firstly I know I will have to group the query by ID No. then somehow use a
formula for it to return the highest rev no. what formula will recognise the
highest value out of that same group.
any ideas, thanks