Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2289 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

(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 by Rich
Replaced file
Posted (edited)

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 by Rich
Posted

Many thanks, Steve! That will certainly come in use with any future reports--it's a keeper.

This topic is 2289 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.