Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Multiple Relationships

Featured Replies

I am trying to generate a commisions report for salespeople. The Sales are divided into a 52 period system (weeks in a year). I need the commissions database to break down the sales by period AND by agent fields... When i make the relationaships it works great for either the period or the agent but not both. It disregards the other relationship.

So i am doing sum of of Units sold....however i want sum of units sold during a specific period.

If the units sold were in a relate file, you'd just have to perform the required find for the period, then use a summary report.

How do you have it arranged?

  • Author

there is 1 file for sales... Each sale is a new record and it contains the period and agent for the sale. I have another file for commissions that i need to have show all the sales for the given period and print a statement for that period. I therefor issue a check and attach this to it to show what i am paying. When i create a new record in commissions i put in the period and it will show all sales for the period... how do i make it also do so by agent? If i change the relationship to agent i can then get all the sales for a certain agent...but not by period.

What field are you using as the primary (local) key?

  • Author

hmmm... key? ms access type key or "the unique identifier" is agent

  • Author

In the spirit of continuing to move forward... ive changed the system of period to include year... which makes an ideal primary key.. so i still have 52 periods to a year but we are now in period 5102 instead of just 51, therefor being unique as well... am i moving in the right direction??? lol

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.