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

Recommended Posts

Posted

I've created a Number field called Record_Number that's an auto-enter calculation, [Get (RecordNumber)]. As I create new records it jives perfectly with the Record Number shown in the Status Bar area, as it should. The problem is that if I delete a record, let's say record #1 out of 5 records-found, the Record_Number field won't update to jive with the Record Number shown in the Status Bar, even after a new Found Set is created. How can I make this field Record_Number always reflect the number shown in the Status Bar?

Thanks!

Posted

Make it an unstored calculation, not an auto-enter one. Get calculations must be unstored in order to update correctly.

Posted

I tried that already...doesn't make any difference. Again, using the example of 5 records in a found set, if I delete Record #1 I end up with records #2 thru #5 in a found set of 4. Also, if I create a new record while the field Record_Number is out of sync w/the Status Bar Record Number, that record is assigned #5, leaving me with TWO #5's in my found set. I'm baffled...storage options are all OFF, have been all the time regardless of whether is calculation or auto-enter number field.

Posted

Yes, but is the calculation unstored? You have to select the 'Do not store calculation results' in the Storage Options.

Posted

Wow, thanks a million! I've been going round and round on this for, well, let's just say more than a few hours. I don't think I'd ever paid much attention to that checkbox before now. I wonder how many times I've made the same error in scripting in the past???

Hope I can help you out in turn, someday! smile.gif

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