Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expression in a query to indicate last column that is not null

Status
Not open for further replies.

MyaCCt

MIS
May 14, 2014
21
US
Hi all! Me again! :)

Question; how would one write an expression in a query that will return the last used column from left to right? Hmmm.. maybe that didnt make sense. OK, so I have columns I through V with dates. If I, J, K, and L are populated, but starting with M - V is null, I want this column to indicate "L." (Being the last column with a valid entry.) Is this even a thing? :)

Thanks in advance for the help!
-MCC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top