Hello everyone,
I was hoping someone could help point out what I'm doing incorrectly here.
I have a form showing NCR's with a table as it's datasource called InventNonConformanceTable. Right now that table has 2556 rows.
I have a client request to show the person who approved the NCR, and that field be filterable.
The info on those NCR's on whether or not they are approved is in a table called InventNonConformanceHistory.
I created a query and then a view with that query as the datasource. The query only grabs the approved NCR's. I added it to the form and I got 2561 rows. When I did some digging, I noticed that some NCRs are approved more than once (5 of them) which is why I'm not getting 5 more records.
So I updated my query and put CreatedDateTime in the Order By, and InventNonConformanceID in the Group By. Then I changed First Only to Yes on the data source in the query. After all this, I'm still getting 2 lines for those 5 records. What am I doing wrong? I want to only grab the latest approved record for every NCR.
I hope this makes sense and hopefully it's something simple that I'm missing.