Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

Hello, I have been searching the internet the whole time but I cannot find the right solution for me. I am trying to create a new database for a networking company. My boss wants me to program it in a way that when a certain member recruits another person into the company, that recruiter will automatically accumulate a certain number of points into his/her account. This is also the same general concept when a registered member places a purchase transaction with the company. For example, for every 1,000 worth of items purchased, he/she will accumulate 5 points into her account. 

 

 

 

I hope you can help me with this. Thanks!

Posted

I am not quite sure what your question is. It seems like there are two of them. Or is the other one an example (in which case it doesn't quite fit)?

 

 

If you have a table a of Members, with a field for RecruitingMemberID, you can construct a self-join relationship using:

Members::MemberID = Members 2::RecruitingMemberID

where Members 2 is another occurrence of the Members table.

 

 

With this in place, a calculation field (result is Number, Evaluate from the context of: [Members]) =

Count ( Members 2::MemberID )

will return the number of people each member has recruited.

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