Skip 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.

Unstored calcs -- freezing file

Featured Replies

I have quite a few unstored calculations that generate a whole bunch of status information on the fly.

I just realized that if I remove a date from one of the fields (an acceptance letter date field), when I try to commit the record, Filemaker freezes.

Sorry, I can't upload the file ... there are too many things going on to explain all the fields, relationships, and what they do...

can anyone provide a general explanation of why this might be happening ?

Thanks.

  • Author

I pinpointed the cause of the problem.

After commenting the three lines in this calc, my problem goes away.

I need the functionality of this unstored calc.

The value list that the commented calc is a related value list that looks at a table occurrence of the same table to generate it's values from the context of the first table.

Case (

not IsEmpty(Rejection Letter); TextColor ("Rejected"; RGB ( 255 ; 0 ; 0 )) ;

not IsEmpty(Acceptance Letter); TextColor ("Offer Accepted"; RGB ( 255 ; 255 ; 255)) ;

((not IsEmpty(Offer Letter)) and (not IsEmpty(Withdrew date))); TextColor ("Offer Declined"; RGB ( 255 ; 255 ; 255 )) ;

((not IsEmpty(Withdrew date)) and ((IsEmpty(Offer Letter)) )); TextColor ("Withdrew Application"; RGB (255; 255; 155));

(not IsEmpty(Offer Letter) or not IsEmpty(Going_to_SKICAP)); TextColor ("Position Offered or Going to SKICAP"; RGB (75; 75; 155));

summary_queued_status = "queued"; TextColor ("Queued for Rejection"; RGB ( 255 ; 0 ; 0 )) ;

((not IsEmpty(Sem Date)) and (not IsEmpty(forwarded_on))); TextColor ("Application Forwarded"; RGB ( 255 ; 255 ; 255 )) ;

not IsEmpty(Sem Date ); TextColor ("Invited"; RGB ( 0 ; 255 ; 0 )) ;

not IsEmpty(forwarded_on); TextColor ("Forwarded"; RGB ( 255 ; 255 ; 255)) ;

/--> all commented

//(PatternCount(ValueListItems ( Get ( FileName ) ; "rejection_queue_status_translated"); "invited") ≥ 1 ); "Deactivated";

// (PatternCount(ValueListItems ( Get ( FileName ) ; "rejection_queue_status_translated"); "position_offered_or")≥ 1); "Deactivated";

// (PatternCount(ValueListItems ( Get ( FileName ) ; "rejection_queue_status_translated"); "accepted_or") ≥ 1); "Deactivated";

---commenting ends here //

TextColor ("Application in Review"; RGB ( 255 ; 255 ; 30 ))

)

How many items are currently in the value list?

Try using this calculation.

Let([ O = IsEmpty(Offer Letter); W = not IsEmpty(Withdrew date); S = not IsEmpty(Sem Date); F = not IsEmpty(forwarded_on); V = ValueListItems( Get(FileName); "rejection_queue_status_translated" ) ];

Case (

not IsEmpty(Rejection Letter); TextColor( "Rejected"; 16711680 );

not IsEmpty(Acceptance Letter); TextColor( "Offer Accepted"; 16777215 );

W; If( O; TextColor( "Withdrew Application"; 16777215 ); TextColor( "Offer Declined"; 16777215 ) );

not (O and IsEmpty(Going_to_SKICAP)); TextColor( "Position Offered or Going to SKICAP"; 4934555 );

summary_queued_status = "queued"; TextColor( "Queued for Rejection"; 16711680 );

S; If( F; TextColor( "Application Forwarded"; 16777215 ); TextColor( "Invited"; 65280 ) );

F; TextColor( "Forwarded"; 16777215 );

Position( V; "invited"; 0; 1 ) or Position( V; "position_offered_or"; 0; 1 ) or Position( V; "accepted_or"; 0; 1 ); "Deactivated";

TextColor( "Application in Review"; 16776990 ) ) )

  • Author

Wow.. thanks Queue!! if possible, could you tell me why this works ?

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.