Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

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?

Posted

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

This topic is 7069 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.