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.

New Guy Help!! Finding question

Featured Replies

  • Newbies

Help..I worked a whole day on this problem and I'm about to give up...

I have a database with 7500 records. There is a username (actually an e-mail address) and password fields in all records.

This a database with a custom interface for the web.

My Problem: I need to find a record based on MATCHING the two fields. (email AND password)

If I enter correct info in only one field, and leave the other field blank, the record is still returned. (Bad...)

If I enter correct info in one field, and incorrect info in the other, I get the error page. (Good...)

Here is the html source for the page (I stripped out the table junk to better see the code)???

<form action="FMPro" method="post">

<input type="hidden" name="-DB" value="mercy2.fp5">

<input type="hidden" name="-lop" value="and">

<input type="hidden" name="-format" value="login_results.html">

<input type="hidden" name="-error" value="search_error.htm">

Username: <input type=text name="email" value="" size=30>

Password:<input type=password name="password" value="" size=30>

<input type="submit" name="-Find" value="Login">

</form>

The documentation for Filemaker is really lacking when it comes to explaining the web connection stuff. I suspect I need an IF Then statement, but I'm not smart enough to figure that out.

Thanks for any help.

Mike Tiehen

VEI

p.s. when I get this working...I still have to deal with that dang @ in the e-mail address!!

Howdy, H! I believe what you want is known as an EXACT SEARCH. Here's a copy/paste of some old FM info I saved...

http://www.filemaker.com/ti/104829.html

Exact Match Finds in Custom Web Publishing

------------------------------------------------------------------------

To perform an exact match find (for example, find Joe Smith but not Joe Smithson) using CDML, use the following pair of tags in your form:

In this example the search field is "Name":

<input type=

  • Author
  • Newbies

Absolutely perfect!!!

I stared at the description of the == in the documentation and thought there was something there for me, but I was unable to put it all together. It works exactly as I had hoped now.

Thanks very much and take care.

Mike Tiehen, VEI

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.