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

  • Newbies

I am new to Filemaker and have inherited a single table db which is published via the web companion and uses a single search page built using HomePage 3.0. The database holds information on accommodation for students such as location, size, smoker - non-smoker preferred etc.

The problem I have is that users can only do OR searches in the form therefore if they choose a room for a non-smoker in a particular area it pulls back all non-smoker rooms and also all rooms in said area. I need to do an AND search but changing the -LOP value in the search page to AND results in no records being found. The search page uses dropdowns and checkboxes built on value-lists and so I am not sure how to base a search on a concatenated field made up of the necessary fields.

Instant web publishing seems to allow for AND searches so why not other HTML search pages?

Can anyone help?

Without seeing the whole Form it may be a bit hard to see why the AND search is not working.

All the best.

Garry

I found this at the start of the Form:

<INPUT TYPE="hidden" NAME="-SortORder" VALUE="Ascending"><INPUT TYPE="hidden" NAME="-op" VALUE=cn><INPUT TYPE="hidden" NAME="-op" VALUE=cn><INPUT TYPE="hidden" NAME="-op" VALUE=cn><INPUT TYPE="hidden" NAME="-op" VALUE=cn><INPUT TYPE="hidden" NAME="-op" VALUE=cn><INPUT TYPE="hidden" NAME="-op" VALUE=cn><INPUT TYPE="hidden" NAME="-op" VALUE=cn><div align="center"><INPUT TYPE="hidden" NAME="-Max" VALUE="2500">

You may want to place just one of these immediately before the "AccommodationFor" field.

I also found this in there:

<INPUT TYPE="hidden" NAME="-LOP" VALUE=OR>

Hence, the "AND" search will not work.

Good Luck.

Garry

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.