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 8361 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I built some pages including a search page using Homepage 3.0 to generate the CDML tags. All works fine execpt when I try to search for a date range. I only get the first date in the range. I seperated each date with ... and then I tried .. but no luck.

I have a similar problem when seaching for names in a pop-up. There are two Daves with different last names. When selecting one, both are returned in the search.

Any fix for these?

Thanks!

Dave

Posted

Some comprehensive threads exist here on date searches. Also, it will be worth your while to use the 'CDML Reference.fp5' database, which has information on tags and their parameters. It can be downloaded from the Filemaker site as a part of the 'CDML Tool' collection.

Also, relevent Filemaker Technotes exists on the www.filemaker.com web-site.

You may wish to look at using:

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

or

&-op=eq&

piror to your person_name="Joe Smith" request.

Garry

Posted

Hi Gary,

Thanks for the quick reply. I searched this site prior to posting what I thought was a simple question. I found no answers relative to my inquiry.

As for the date ranges, it would be nice if there was a choice of "is between".

[ March 12, 2002, 03:10 PM: Message edited by: daviator ]

Posted

The link is just an example using a url. A form version would look like this:

.

.

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

<input type="text" name="mydatefield" value="">

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

<input type="text" name="mydatefield" value="">

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

Hope this helps.

Garry

Posted

My standard reply:

USE THIS RESOURCE OFTEN.

http://www.filemaker.com/support/index.html

Search and read: Article Number: 104829, and Article Number: 105687

_____________

Plus a little more:

Understanding the use of the symbols of an exact search will enable you to uderstand how to use all the symbols available in the FMPro db find operation.

Remember that you are trying to get your format file to talk with your db file.

The biggest problem with the -op tag is that if you need two fields and data is entered in only one, your client will get a result. To avoid this you either need to understand the above or you need to know another language, JavaScript. This is not meant as a disparagement of JavaScript. I use it where appropriate.

Posted

I shouild have added that there are two threads this year, one started by Turansky and the other started by me. Both have currentdate in their thread title. You would be well advised to read these threads as well. One of those may well refer to an even earlier thread on range searches between two dates.

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