We perform a test on a piece of equipment every year. When I generate my report I get all the previous year's submissions. I have attached a copy of the report that prints. I want to get only the most current submission.
${#BACKFLOWTESTRESULTS|resultRecordCount:1}
Results: ${FINALTEST}
${TESTPERSON}
${TESTDATE | format:”DD/MM/YY HH:MM”}
${/}
If I use the code above I get the submission from 2020. I want to get the submission from 2021.
Can anyone help me out, please?
Resolved: by using the following
${#BACKFLOWTESTRESULTS | orderByFields:"TESTDATE DESC" | resultRecordCount:1}
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.