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.

Automatically filling a field with a variable

Featured Replies

  • Newbies

Hi, I have a database with a list of clients and for each client you can add a list of enquiries they make.

What I want to do is for the enquiry form to appear on a new page when you click a button, so what I'm trying to do is create a variable that copies the clientID record from the CLIENTS table and then automatically pastes it into the ClientID record for the new enquiry in the CLIENT ENQUIRIES table. I'm trying to use scriptmaker to get this to work, and so far I have:

- Set Variable [$IDforEnquiry; Value:clients::Client ID]

- Go to Layout ["Client Enquiries"(Client Enquiries)]

- New Record/Request

but I'm missing that vital last line that will paste my new variable into the Client ID field of the CLIENT ENQUIRIES table.

I'm sure there is a simple solution to this but it's driving me mad trying to work out what it is! Any help would be greatly appreciated!

Hi Ian,

It would be:

Set Field [ Client Enquiries::Client ID ; $ID forEnquiry ]

Commit Records/Requests

BTW, I could not decypher your other scripts (from your other post), sorry. I was going to take another look today but without the files, I don't hold out much hope. Maybe others can figure it out.

LaRetta

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.