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.

Deleting unwanted records

Featured Replies

This is my current solution:

solution.jpg

I'd like to delete all records from the Customers file that are not used in the RequestLog file. The match field is CustNo. Is there an automated or semi-automated way to do this? Right now I have a portal in Customers showing related records from RequestLog. I scroll through each customer record and if there are no related records in the portal then I delete it. This is slow and tedious.

Is there a better way???

Thanks

Mark Durgee

Create a calculation, unstored.

c_checkActive = IsValid(RelationshipToRequestLog.file::AnyField)

This boolean calc will tag with 0 those Not related Customers, so that you can perform a find on c_ckeckActive with 0 and delete these records.

  • Author

Thank you very much! Before I checked back here I got the same result in a slightly different way by searching in the portal fields for any data at all and omitting those records. But there are potential flaws doing it that way, so I'm printing out your calc field and storing away.

Searching for empty fields in portals could give different results. You would be searching for records with no related "data" in that field. Now it depends what field you targetted. If it was the LogUniqueKey would be OK.

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.