Skip 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.

How to structure the relationships in twice removed daughter table?

Featured Replies

Two currently separate DB's, "Client Activity" and the "Checkbook." 

 

Activity DB has "Main Table" with client#, name, address, etc. Its related daughter table has charges and payments, and dates for those. 

 

Checkbook DB is a simple flat DB where we print checks and record payments. 

 

Right now the payments are entered twice, into the Activity DB and then into the Checkbook DB. Of course I want to avoid the double entry.

 

When a payment is recorded into the "Client Activity" daughter table, how to simultaneously create a create a deposit record in the Checkbook DB?

 

Second problem: The work for the CHARGES is done by 3rd parties, so when a Charge is created, it will in many circumstances, but not all, require a check to be paid to the 3rd party for each service. One third party contractor is so frequent that we write them an aggregate check at the end of each month, so each CHARGE to a client when using that 3rd party does not require a check (or a record) for each job. 

 

Whew. I believe I can program it if someone would point me in the right direction. 

Hi Andrew,

 

I think you are entering payments to Checkbook and then add the same to the daughter table. This is what you are suffering from double entry. If I am right then you can follow following solution.

 

Solution-

The payments that are entering into Checkbook must have a Serial#/ID field(let say PaymentSerial#).

 

Add a new field field "PaymentID" to the daughter table.

 

When you make a payment for a client you are adding a new record into Checkbook at that time you can get the PaymentSerial# of that payment record just use that value to set into PaymentID field of daughter table. So whenever you want to see the details of payment just search the details of payment in Checkbook via PaymentID. You no need to enter details of payments done into daughter table.

 

 

 

Thanks,

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.