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

I have a db with fields

student_id (unique serial), names...etc, time_out_id (unique serial), behaviour (with text about the particular behaviour that caused time out), letter_home_number.

In another layout I have a form letter sent to parents that includes the field: letter_home_number.

What I can't work out is how to automate the letter_home_number...ie on first time out the letter number is 1, 2nd time out 2 and so on.

I think I have to make the letter_home_number a calculation-count field but I'm not sure if I'm on the right track...

Or do I need to have another field for each time_out record: number=1...do a find script then count the number or records to insert/merge into the form letter...

Or do I have to make it a sub-summary or summary field...

Or...can I be pointed to a reference

TIA

Stephen K

  • Author

I have a db with fields

student_id (unique serial), names...etc, time_out_id (unique serial), behaviour (with text about the particular behaviour that caused time out), letter_home_number.

In another layout I have a form letter sent to parents that includes the field: letter_home_number.

What I can't work out is how to automate the letter_home_number...ie on first time out the letter number is 1, 2nd time out 2 and so on.

I think I have to make the letter_home_number a calculation-count field but I'm not sure if I'm on the right track...

Or do I need to have another field for each time_out record: number=1...do a find script then count the number or records to insert/merge into the form letter...

Or do I have to make it a sub-summary or summary field...

Or...can I be pointed to a reference

TIA

Stephen K

You could make a button that runs ascript taking you to the layout for printing the letter_home. Besides going to the layout, the script will increment the letter_home_number as:

Go To Layout (Letter Home)

Set Field [ letter_home_number, letter_home_number + 1]

Every time the letter-home layout is visited (and, presumably, printed & mailed), letter_home_number will go up by one.

Steve Brown

You could make a button that runs ascript taking you to the layout for printing the letter_home. Besides going to the layout, the script will increment the letter_home_number as:

Go To Layout (Letter Home)

Set Field [ letter_home_number, letter_home_number + 1]

Every time the letter-home layout is visited (and, presumably, printed & mailed), letter_home_number will go up by one.

Steve Brown

  • Author

Thanks

I'll try it

Stephen

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.