A
AdminGirl
I have a table with multiple columns. The primary key is the column titled
"Property Address". Each property contains it's own row. There is another
group of columns in the same table that contain dates, titled: ltr_dt_1
through ltr_dt_10. Every time a letter is mailed to one of the properties,
the date of the letter is entered in those columns, beginning with (1), so
that each instance is kept. For some of the properties only the first couple
of columns are filled, for others, most of the columns are filled.
I need to write a query that will pull the "Property Address" into one
column and combine all (10) of the date columns into (1) column that only
shows the latest date that a letter was sent to each property.
I used the expression builder and got the query to pull all the dates into
one column, but I cannot figure out how to get it to show only the latest
date instead of all of the dates.
Someone please help!!
"Property Address". Each property contains it's own row. There is another
group of columns in the same table that contain dates, titled: ltr_dt_1
through ltr_dt_10. Every time a letter is mailed to one of the properties,
the date of the letter is entered in those columns, beginning with (1), so
that each instance is kept. For some of the properties only the first couple
of columns are filled, for others, most of the columns are filled.
I need to write a query that will pull the "Property Address" into one
column and combine all (10) of the date columns into (1) column that only
shows the latest date that a letter was sent to each property.
I used the expression builder and got the query to pull all the dates into
one column, but I cannot figure out how to get it to show only the latest
date instead of all of the dates.
Someone please help!!