RoadrunnerRay Posted March 30, 2004 Posted March 30, 2004 Wading in deeper, as the saying goes........ any help will be appreciated! I have checked all the documentation I have + the filemaker Techinfo database and came up dry. I am doing a (-find) action from a form in a web page and want only an exact matche. Is there an additional parameter I can use to accomplish this? Is there a good reference manual I can buy to assist me in the future. Many thanks, Ray Version: v6.x Platform: Mac OS X Jaguar
Unable Posted March 31, 2004 Posted March 31, 2004 If I were a betting man, I'd bet that you don't want the exact match, 'cause that's the basic/default I do believe. I'd bet that you want the "field contents match". There are several CDML examples in the Sample Files forum. I know. I've put them there. At least one of them uses the "field contents match" among other find variables. If you don't want the "field contents match" you might be interested in contains or some of the other find variables (also in Sample Files demos). In addition to the Sample Files Forum you can refer to the CDMLRdb for many, but not all, things. Have fun.
Garry Claridge Posted March 31, 2004 Posted March 31, 2004 You can try this in your Form: <input type="hidden" name="-op" value="eq"> Enter Search: <input type="text" name="myfield" value=""> A couple of other methods also exist. You will see them in Unable's sample files All the best. Garry
RoadrunnerRay Posted March 31, 2004 Author Posted March 31, 2004 Good Morning Unable and Garry, many thanks for the information. I will now begin to dig into the Sample Files forum and the CDMLdb for the answers. What a "Treasure Trove" of information this forum provides!! RoadRunner........... Ray ==================
RoadrunnerRay Posted April 1, 2004 Author Posted April 1, 2004 Update! I tried downloading Unable's files, but had a problem opening them. I also tried Garry's -op "eq" suggestion but am still getting finds that return "johnsmith" when searching for "johns" etc. The Filemaker 6.0 Users Guide discusses using == for exact finds. this is what I want. How do I get this to execute through CDML?? Thanks for any assistance....... Ray
Garry Claridge Posted April 1, 2004 Posted April 1, 2004 Try this: <input type="hidden" name="myfield" value="=="> Enter Search: <input type="text" name="myfield" value=""> All the best. Garry
RoadrunnerRay Posted April 2, 2004 Author Posted April 2, 2004 Bingo!! Garry, works like a charm! Many thanks, now I'll have to go and try to understand exactly why it works......... Roadrunner... Ray
Unable Posted April 2, 2004 Posted April 2, 2004 Ray, what is the problem you're having opening, format or db files, and which demo? The format files were hand written in SimpleText. The demo is 5.0v3, which should be a drag and drop into 6.x
RoadrunnerRay Posted April 2, 2004 Author Posted April 2, 2004 Unable, I did a search on the Sample Files forum for your handle and came up with many finds, not sure which one I tried to open but will go back and find demo 5.03 and get back to you......... Thanks for following up........ Ray
RoadrunnerRay Posted April 14, 2004 Author Posted April 14, 2004 Unable, I have tried the recommended procedure of dropping your downloaded php file on the Stuffit Expander icon. This does work and creates a folder with the demo htm and fp5 files. Thanks! FileMaker Version: 6 Platform: Mac OS X Jaguar
Binka Posted April 15, 2004 Posted April 15, 2004 Ray the only way I can think of is to add the == to the value of your input tag IE <input="text" name="fieldname" value="==" size="30" all that happens is that you get the == show up in the text input bopx on the browser. you could try experimenting by trying <input type="hidden" name="field1" value="=="> <input type="text" name="field1" value=""> see if it dumps the hidden and user text into the search function? hope this helps FileMaker Version: 6 Platform: Mac OS X Jaguar
RoadrunnerRay Posted April 16, 2004 Author Posted April 16, 2004 Binka, thanks for your reply, Garry Claridge in a post above suggested using the "hidden ==" which works great!...... Ray FileMaker Version: 6 Platform: Mac OS X Jaguar
Recommended Posts
This topic is 7518 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 accountSign in
Already have an account? Sign in here.
Sign In Now