Lavenderchan
Technical User
Hello,
I am looking for help with a max query. I have four columns ID, afs_fye, date received, and header_id. The problem I am having is the max of the data received might not be the most recent afs_fye. So if the latest record is for another fiscal year I still need it to pull the most recent fiscal year. How do I fix this. I was think an if then statement but its not working. Any help would be appreciated.
Thanks,
Keri
I am looking for help with a max query. I have four columns ID, afs_fye, date received, and header_id. The problem I am having is the max of the data received might not be the most recent afs_fye. So if the latest record is for another fiscal year I still need it to pull the most recent fiscal year. How do I fix this. I was think an if then statement but its not working. Any help would be appreciated.
Thanks,
Keri