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.

Find and Omit... what am i doing wrong?

Featured Replies

My application is a Membership application.

There is a field named: Membership::Mem_Can which holds a value of "Member" or "Candidate"

In the database there are 55 Members

In the database there are 8 Candidates

Of the 55 members, 2 are deceased. (The DOP field has a date in it)

I am trying to do a find all members who do NOT have a date in the DOP field. (They are no deceased)

There are 53 members who meet this criteria.

=====THE PROBLEM======

I write a script with these steps:

FIND Mem_Can="Member"

OMIT DOP<01/01/50

post-72145-0-71851800-1328244944_thumb.j

What results is a found set that shows 55 records.

I am using a script LOOP that goes through the found set and updates the STATUS of each MEMBER.

The last 2 records don't get processed because the found set finds 55.

But a variable, $$foundset shows 53?

(I also tried using CONSTRAIN FOUND SET and got the same result.

???? ???? ???? ????

Thanks

Ron

OMIT DOP<01/01/50

This will only omit persons who died before 1950.

  • Author

I found the answer.

Carefully following the debug trail through several subs, led me to a 'find' that screwed up my intended 'find'.

Mystery solved. User error .... again....

In order to find for an empty field use = in the field

  • Author

RE: using '='

Thanks... I forgot that one and it is not documented in my FM books..

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.