September 5, 20187 yr (I'm sure this calc is here somewhere in the forum but I couldn't find it, so my apologies.) I have a solution that captures test codes and the dates students take those tests, but what I want to do is flag the earliest date a student took a specific test with the phrase, "First Attempt". I included a set of sample records for a specific student with this post. As you can see, there are three instances of TestCode 0061 but I want the flag to appear in the earliest-dated record, 07-25-2009. I figure it will require a separate T.O.- keyed on StudentID and TestCode--and that somehow it's a comparison of one-to-many, but that's about as far as I got; I tried using the MIN command but got nowhere, so if you could steer me down the right path, I'd appreciate it. Thanks! FirstAttempt.fmp12 Edited September 5, 20187 yr by Rich Replaced file
September 5, 20187 yr Author Oops, just figured it out: Case ( Min ( PRAXIS_CHILD.FirstAttempt::TestDate__lxd ) = TestDate__lxd ; "First Attempt" ; "" ) I put the local table after MIN instead of the other T.O. *blush* Edited September 5, 20187 yr by Rich
September 5, 20187 yr Little concerned about your structure, see if this helps. FirstAttemptMOD sm.fmp12
September 5, 20187 yr Author Many thanks, Steve! That will certainly come in use with any future reports--it's a keeper.
Create an account or sign in to comment