April 6, 200421 yr at the top of a field box ? I created a script to insert the current date but it keep putting at the end of the previous date. I need to put it before older date, pushing older date to the bottom. It is possible with filemaker ? thank for your help. FileMaker Version: 6 Platform: Mac OS X Panther
April 6, 200421 yr Author it works really fine! thanks a lot. Could I ask you another question ? I'm building a datebase for a call center. we've a LAST CALL and NEXT CALL field. every week, i need to produce a report showing all the call made during that week. i need to create a script that will do this search, in the LAST CALL field : >= today - 7. how could i do that ? thank for helping a newbie...
April 6, 200421 yr Set Error Capture [On] Go to Layout [layout containing LAST CALL] Enter Find Mode [ ] Insert Calculated Result [LAST CALL, ">=" & DateToText(Status(CurrentDate) - 7 )] Perform Find [ ] If [not Status(CurrentFoundCount)] Show Message ["No calls were made during the last week."] End If
April 6, 200421 yr Author Its not working because filemaker is changing the current date to a number. is that because of the LAST CALL field is a Date format ?
April 6, 200421 yr Hi, Notwithstanding Queue's method, I always prefer relationships for these kind of daily use function. It also often solve these Insert problems and offer IMO a dynamic way to individually access matched records, as they would appear in a portal, or go to related records for a classic reports when you want to. Create a global field gWeek (text) and a relationship from gWeek to your Last Call field (either date or text doesn't matter). Use a portal to view these records, and make each row a button "GoToRelated records". Then, the script. Set Field[gWeek, DateToText(Status(CurrentDate))&"
April 6, 200421 yr tizoube said: Fitch I did use the Datetotext as mention by Q... Check this back then as well as the Perform Find[ ] step... FileMaker Version: 6 Platform: Mac OS 9
April 6, 200421 yr Author Sorry guys, just found out my mistake. another question : how to send email with the Open URL fonction ?
April 6, 200421 yr You're on a Mac. You should get a Send Message script step that's just designed for this. FileMaker Version: 6 Platform: Mac OS 9
April 7, 200421 yr Author Yes Ugo and I did try it, but is doesn't open a new message window on Outlook. I tried with the Open URL and the mailto: fonction and is working fine. The only thing that I'm wondering is how to set the email address with my email field. any help ?
Create an account or sign in to comment