My first post here, love the forums. I have tried to search the answer to my problem but I am having a hard time coming up with the right keywords to get to the results I am looking for. Here is my dilemma:
I have a calendar view (grid) attendance report that fills in the attendance codes, by date, and other assorted info for all the children at the end of the school year. We have a spot for "First Day" on this report that we need to track for billing and other reporting purposes mostly.
I need to come up with a formula that says if the "Attendance code" field in the "Attendance" table = "X" then display the "attendance date" field in the "Attendance" table (and stop!). Else move to the next school day. (9/10/12-6/28/13). And I guess as an exit, else if "X" does not exist Print Line "N/A".
X is our code for "Child Present" within the attendance code field of the attendance table.
I tried to search examples of WHILE DO loops and such but I cannot find anything that is close to what I am looking for, or I would have copied and disassembled it
Any suggestions?
I am using Crystal Reports XI