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.

autofill from other table bassed on come from

Featured Replies

Hi,

I haven't been able to track this one down so appreciate any thoughts that you may have.

I have a basic customer table and a systems table. In the customer form i want to click "add system" which brings open its own window to create a system in the system table. I want to have the customer ID in the system table auto fill bassed on the ID of the customer im looking at when i click add system.

I have attached a copy of the file for a more clear picture. Once in the customer layout, click on the systems tab and a button will show and allow you to add a system.

Any pointers would be greatly appreciated.

AFPS2.zip

Welcome to the Forum.

There are 2 ways to accomplish what you want.

You can just add the new system to the System portal. You accomplish this by checking "Allow New Record Creation" on the system side of the relationship in the TOG (Relationship graph).

You can also set a variable in your script that grabs the CustID and holds it when you change to the system layout and then by using the Set Field() command you can place the CustId in the system::CustID.

See attached for both approaches.

hth

AFPS2_Mod.zip

  • Author

Thanks very much for your help. I like and will apply the script solution. Very simple now that i see it, but of course would have never figured it out on my own.

The example you provided will be very useful for alot of the other things that i plan on doing with this DB.

Much thanks.

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.