Jump to content
Server Maintenance This Week. ×

Reducing number of found set


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

Recommended Posts

Hi,

i want to sort my records based on "three(3) of the most active customers", note..(i can sort my data by the most active customers but then i want to be able to only have 3 records in my found set. How do i achieve this.?

Link to comment
Share on other sites

i can sort my data by the most active customers but then i want to be able to only have 3 records in my found set.

​Assuming you are scripting this, you can do:

...
Go to Record [ 4 ]  
Omit Multiple Records [ Get ( FoundCount ) - 3 ] 

 

Edited by comment
  • Like 1
Link to comment
Share on other sites

​Assuming you are scripting this, you can do:

...
If [ Get ( FoundCount ) > 3 ]
 Go to Record [ 4 ]  
 Omit Multiple Records [ Get ( FoundCount ) + 3 ] 
End If

 

Hurraaay! Thank you very Much, that breaks the ice...

Link to comment
Share on other sites

Oops! Sorry, I had a typo there: it should have been minus 3, not plus 3. And the If wrapper can Its

No problem, i took the underlying principle, so the typo didn't bother me, Again, thanks.

Link to comment
Share on other sites

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