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.

Featured Replies

Hi,

 

I've got a script which creates a new record in a layout, creates a record in a linked table and then copies text (same text for every record) into some text boxes (so the text can be highlight (bold/italics) during a lesson observation.

 

So I have a few questions

 

1    When it creates the new record it always comes up with a Filemaker message to save the record in the linked table. is there a way I can stop this from popping up as it will get annoying to teachers if they are asked to save something before they have even entered it.

 

2   The Set field trigger isn't giving me the option to tell it what I want to set the field value to. Has anyone seen this before?

 

3   I've attached a screen shot of the script. Is this the only way to write scripts or is there a script screen that allows you to write then as you would with perhaps VBa etc?

 

I'm currently using a trial version until I get my license come through so I don't know if my questions / issue relate to this.

Thanks in Advance

 

 

 

post-112258-0-08023000-1415614520_thumb.

This is one of the key ideas behind a relational database in the FileMaker world

 

Assuming you have a relationship from the EvaluationForm to the Observations, linked by the key fields, if you have allow creation of records ON on the Observations side, every time you create a new EvaluationForm record you can set any field in the related table - in fact you can set the field to NOTHING and and it will create the record and populate the foreign key field for you. No need for the complicated grabbing the key, going there, setting it and then come back routine...

This is the core idea behind transactional processing where you create the parent record by setting the child value in a portal... but thats another lesson....

 

 

See simple example file

test.fmp12.zip

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.