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.

problems with related fields... :(

Featured Replies

hi all,

i have 3 separate db's, let's say A is Clients db, B is Consulants db & C is XMas cards db. there's a field in both A & B so that if i put a tick in this field, a record would be generated in C using data from A OR B, data should include several fields from A & B.

Does anyone have any clue on how i could tackle this efficiently?

cheers

Any reason why you can't use a button to activate a script?

The script could tick the checkbox if that's what you're worried about.

The script would copy the client number or consultant number, then run an external script in XMas Cards called "New card from clients" or "New card from consultants" which would create the new record and lookup the necessary information.

  • Author

thanks Jason, i think your solution would be good if i only have to insert the records in the XMas db once, problem is data such as address fields need to be updated automatically if their parent fields in A & B get changed. i am actually thinking of having calculated fields in XMas db, i can't think of anything yet though smile.gif cheers....

I've attached a simple example that shows a way to do what you want. Note that in the clients file, the XmasCard check box has been formatted as a button that performs a script to create or delete related records. A reverse relationship in the Xmas file displays current information directly from the Client file so that if Client information changes, it is immediately updated in the Xmas file.

createRelated.zip

  • Author

Thank you Bob, it does everything i want like you said.... smile.gif gotta think of a harder scenario for you now smile.gif cheers

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.