Within the client it works perfectly and only applies the script to the current record.
Main Topics
Browse All TopicsI am very new to php and am desperately trying to get my filemaker send mail script to work on a php web page. I use the above tags but it causes the mail to be sent from a random record. I need to know the exact tags to use to get the script to work only on the current record. I also need to know where to place the tags (on my addrecord page, my eidt page, or my confirmation page) and in which part of the head section. Obviously, I don't know nearly enough but I just want to get this working. Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
It sounds like you are finding a set of records, rather than just the specific record you need, and it is acting on whichever record from the set happens to be on top at that time.
Try having your Filemaker script narrow down to just the record you want. If Filemaker is currently on the desired record but there are other records in the set, a quick-and-dirty way to do this is to show all records, omit the current record, then show omitted only.
Business Accounts
Answer for Membership
by: billmercerPosted on 2009-11-05 at 11:44:37ID: 25753126
What happens if you run the script within the FileMaker client? Does it return a single record, or a set of records?