I have a ranking issue. I put together the below expression but I get "0" for every value - One of them should read "1".
I have a text file linked to this database, and I'm trying to create a Query that will pull all of the data out of this text file, and add a rank if two of the values match in multipe records.
So in other words, when multiple records have the same [JOBNBR] , I want to evaluate the [TIMESTAMP] value to see if it is the smallest one, and so on.
I don't want to create multiple queries to do this, is there any way to do this?
Here's what I have:
Any ideas on what I need to change? Thank you,
~Kit
I have a text file linked to this database, and I'm trying to create a Query that will pull all of the data out of this text file, and add a rank if two of the values match in multipe records.
So in other words, when multiple records have the same [JOBNBR] , I want to evaluate the [TIMESTAMP] value to see if it is the smallest one, and so on.
I don't want to create multiple queries to do this, is there any way to do this?
Here's what I have:
Code:
DDR: (Select count(*) from tblMyDataImport Where [tblMyDataImport].[TIMESTAMP] < [TIMESTAMP] AND [tblMyDataImport].[JOBNBR]=[JOBNBR] )
Any ideas on what I need to change? Thank you,
~Kit