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

Does anyone know how to do a "Global Search" of a database via the web?

I want to create 1 "Search" field that will check every field in that database (or layout) for whatever the criteria and display it back to the user.

Not quite sure how to tackle that one.

Any help would be greatly appreciated!

Thanks!

~Addam~

Addam,

This is a bit of hack work however you will end-up with a "-lop" of "OR" and a list of all the fields as <input> tags. You can then use Javascript to fill-in the values of all the fields to be searched.

Another method is to create a Calculation field which concatenates all of the fields to be searched. You would then use a "-op" of "Contains" for the search on that field.

Hope this helps.

Garry

We are doing that with Calc field and it is sort of dictionary.

It is work for 5 minutes.

  • Author

COOL! Thanks for the reply!

Ok...

I seem to be in the right direction...

Now reg. the calculation field...

It is:

webFind - FieldNames (Status(CurrentDatabase), "profile")

This will give me the field names in the database.

Should the HTML look like this:

<input type="hidden" name=" [FMP-Field: webFind]" >

or am I missing something here. (BTW, this does not work).

Thanks!

~Addam~

Addam,

In the Calculation field I would have something like this:

webFind - myfield1 & myfield2 & myotherfield .... etc

An efficient method, of using FieldNames(), may exist however, I haven't used that function.

The html/cdml would look like this:

<input type="hidden" name="-op" value="cn">

Enter a String to search for:<input type="text" name="webFind" value="">

<input type="submit" name="-find" value="Find String">

Hope this helps.

Garry

  • 3 weeks later...
  • Author

Thank you Soo Much!

It works like a charm!

Cheers!

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.