Jump to content

Find using getSummary calculation?


brycare

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

Recommended Posts

Hi. I've a question regarding doing a search on a GetSummary calculation field.

I have fields as follows...

EmpId(Number)

Status(Text)

Date(Date)

Count Of Student ID(Summary)

No.Occurrences(Calculation = GetSummary(Count Of Student ID, Student ID)

I need to be able to do a search for eg.

Status = "Present"

in Date Range 1/1/2004...31/12/2004

with no. occurrences per employee = 4

I'm having major difficulty doing the find for the no.employees. Is it possible to do this using a calculation field which uses getSummary?

If I do the search first of all for the required Status and Date and then subsequently I sort by Student ID, then the No. occurrences shows up correctly but I can't seem to search directly for the no. occurrences.

Anyone got an idea of how I might do this?

Link to comment
Share on other sites

I dont tried it, but If this didnt work try to do like this:

After finding and sorting:

Loop

If(occurrenc<>4)

Omit record

Elseif

Goto record next exit after last

Endloop

If count of your records not is so match this will hel[ you.

Link to comment
Share on other sites

This topic is 6993 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.