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.

script to create related record from different layouts

Featured Replies

  • Newbies

I need to have a service form be able to enter in new client info into the contacts table that will be placed into the project table as well. would I need a script that would create new records in both contacts and projects to perform this?

Open a new window (off-screen if desired) that goes to the clients TO to make the new record, then close it.

  • Author
  • Newbies

This can't take place on one screen? Would a portal work?

New records need to be created either through portals (if the option to create related records is selected) or from a layout based on the table occurrence.

  • 2 weeks later...

I've started to use an SQL plug-in to do this. There are at least a few free SQL plug-in's available nowadays. It's not 100% necessary, as the method Vaughan mentioned works, but if you are already planning on using the plug-in in other area's of your database, then you might as well use it for this as well.

Plug-ins = risk. Databases are complex enough without having implementation and maintenance problems of plug-ins

I need to have a service form be able to enter in new client info into the contacts table that will be placed into the project table as well. would I need a script that would create new records in both contacts and projects to perform this?

I'm not sure what you mean. Let's say I need to enter a new project. Why can't you put the user in a Contact Find and once they either find the contact or create a new one, then on the Contact Form, they create a new Project? The New Project button would capture the ContactID and populate the Project's foreign contact key.

It almost sounds like you have redundant contact info fields in the Project table.

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.