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.

set field or replace contents - relookup contents

Featured Replies

Hi,

To calculate the pieces in stock I have a total in stock field (=unstored

calculation Purchasepiece-sum(sold)).

Because of the fact that we need to search alot on this field, I made

a field on the layout that can be indexed.

So I made a button that updates the totals that inserts the total in stock

in the indexed field

I wonder what is best

make a loop that goes through the whole stock and use

set field

or just use replace contents - relookup contents

thanx

Bruno

I think it depends on how big your database is. If it is very large, then a looping script would take a long time. It would be better to "replace with calculated result" where the calculation is simply the name of your total-in-stock field.

If the db is large, then this could still take a long time, though. I wonder if there is a way to use a conditional function in a find? If you could find all records where the total-in-stock calc field is different from your working in-stock field (that is, just the records where the info has changed since the last time you updated the field) then you could relookup just the records that need it, 200 records instead of 200,000, for example.

Steve Brown

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.