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

Recommended Posts

Posted

Hi all

I import records into a file with an auto enter serial number. Import does not trigger the auto enter function as far as I can see.

I tried creating a summary field to capture the max serial number and wrote a looping script and used the set field command to set the empty serial numbers.

Goto first record

loop

if(isempty(serialnumber)

set field (sumary field; serial number)

else

goto next field (exit after last)

endif

end loop

this works but this goes through all the records every time we would import records and soon are later this will get slow.

I tried using the Max function, Max(serialnumber) and designated it as a global field and find all records with a blank serial number but Max(serialnumber)as a global field is empty.

I know there is a better way of updating auto enter serial after importing records but that is beyond me and I would appeciated your help.

I also did a search of the forums and caming up empty.

Thanks

Lionel

Thanks

Posted

Hi Lionel,

The auto-enter serial will fire during an import if you check the 'perform auto-enter' option within the dialog which appears after you've selected to import and immediately before the import runs. And make sure the serial field has an auto-enter calculation (check in field definitions, Options tab under auto-enter).

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