G
Guest
I'm having problems sorting some information. The database I'm working with
lists every single note associated with a file name. There are many
different file names. All this information is listed in one query. What I
am wanting is to be able to see the last three notes for EACH file name.
Each note is stamped with a time and date, and these two fields are combined
to create a "time" field. I have tried using the "SELECT TOP 3" function in
the SQL statement but this only generates the last three notes every made,
not the last three notes for each file name. The only way that I can view
the last three notes for a specific file name is if I limit the filename
field to only that specific file name. I don't want to have to create a
query for every single file because there are hundred. PLEASE HELP ME!!
lists every single note associated with a file name. There are many
different file names. All this information is listed in one query. What I
am wanting is to be able to see the last three notes for EACH file name.
Each note is stamped with a time and date, and these two fields are combined
to create a "time" field. I have tried using the "SELECT TOP 3" function in
the SQL statement but this only generates the last three notes every made,
not the last three notes for each file name. The only way that I can view
the last three notes for a specific file name is if I limit the filename
field to only that specific file name. I don't want to have to create a
query for every single file because there are hundred. PLEASE HELP ME!!