Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8404 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

This may sound like a dumb question, but how do I do a search for all the records that have a field with no data? Everytime I've tried it I don't get the results I want. I used the example below to find all records with no page number. Can anyone see what I did wrong?

"FMPro?-DB=Tracking.FP5&-Format=summary.htm&-Op=eq&ProjectName=[FMP-Cookie : theProject]&-Op=eg&PageNumber=&-Max=all&-Find"

Thanks for your help!

Dave

Posted

Try this:

"FMPro?-DB=Tracking.FP5&-Format=summary.htm&-Op=eq&ProjectName=[FMP-Cookie : theProject]&-Op=eq&PageNumber==&-Max=all&-Find"

I have changed:

-op=eg to -op=eq

PageNumber=& to PageNumber==&

Hope this helps.

Garry

Posted

Is the page containing this URL being processed by FM?

If not the [FMP-Cookie: tag will not be replaced by the cookie contents. Hence, the search will be looking for Projects with the name "[FMP-Cookie: ....". You can check this going to FM and select "Modify Last Find" from the "Records" menu.

Other than that the URL should work. Test it without the "&ProjectName=[FMP-Cookie : theProject]&".

All the best.

Garry

Posted

quote:

but how do I do a search for all the records that have a field with no data?

Hi, the easiest way to do this is to create another calculation field in your database, like:

If(IsEmpty(PageNumber),"yes","")

then do a search on that field for "yes":

"FMPro?-DB=Tracking.FP5&-Format=summary.htm&-Op=eq&ProjectName=[FMP-Cookie : theProject]&-Op=eq&calcfield=yes&-Max=all&-Find"

....I usually fix problems by going around them smile.gif" border="0

regards, jeff

This topic is 8404 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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