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 6352 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have two different tables. T1 & T2.

T1 has an indexing unique serial number

(record Id).

I have a field in T2 which i need to automatically index based on the T1 record ID

so every record I create in T1 the records created in T2 will be sequential starting from 1 each time... not ussing the @@ command... I need it to be in a field... is this possible?

Posted

How are you creating the children records via a portal or thru a script?

if you are doing it though a portal set the field in T2 to auto enter Get (PortalRowNumber)

if you are scripting it then set a variable to Count(T2::recordid) +1

go to other table create a record and set the field to the contents of the variable.

however should you delete a child record it will not re-sequence the number and you could

potentially have duplicates.

This topic is 6352 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.