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

Featured Replies

Hi --

Lets say I have 2 tables an Employee Table and a Department Table. The Employee has the following fields (pkEmpID, fkDeptID, Name, Title) and the Department table has the following fields (pkDeptID, DeptName, DefaultTitle).

Assuming I have Table Occurences the same name as the table and have the 2 TOs joined by fkDeptID.

What are the benefits of having the following:

Employee::Title ... Auto-Enter calculated value Lookup(Department::DefaultTitle)

over

Employee::Title ... Auto-Enter calculated value Department::DefaultTitle

:)

What would you like to happen if an employee is re-assigned to another department?

  • Author

I'd like for the Title to change to the DefaultTitle of the newly assigned dept.

Why not use a straightforward lookup then? In terms of functionality, all three will behave the same in this situation (provided the auto-enters are set to replace existing value). When using the Lookup() function you get the option to specify a failExpression - though you could do the same using Case(), for example.

  • Author

Thank you for your insight ... besides the fail expression functionality, I really don't see any benefit from using Lookup().

It would be really great if the Replace Script Step would honor this calculation; now, that would be a real game changer!

It would be really great if the Replace Script Step would honor this calculation

I'm afraid I have no idea what you mean by that.

It might be just me, but it does seem that auto-enter lookup is slightly faster than auto-enter calculation—even when using the Lookup function itself. The overall difference in data entry speed and responsiveness is significant enough to me, that I always try to use the former in place of the latter whenever possible. Anyone else have this experience?

It's best to test such things thoroughly rather than rely on subjective perceptions. A quick (and rather informal) test I performed importing ~100k records shows lookup to be about 14% faster than auto-enter.

Create an account or sign in to comment

Important Information

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

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.