Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7255 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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

This topic is 7255 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.