<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title><![CDATA[Script Triggers]]></title><link>http://fmforums.com/forum/showforum.php?fid/267/</link><description>Event models and how to implement script triggers. </description><language>none</language><pubDate>Tue, 27 Jul 2010 22:45:06 GMT</pubDate><lastBuildDate>Tue, 27 Jul 2010 22:45:06 GMT</lastBuildDate><docs>http://blogs.law.harvard.edu/tech/rss</docs><generator>FusionBB 3.0 FINAL (www.fusionbb.com)</generator><item><title><![CDATA[Message shows up when deleting records?]]></title><link>http://fmforums.com/forum/showtopic.php?tid/215885</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/215885</guid><description><![CDATA[ I have created a script that prompts the user to "confirm" that they want to delete a record in one of my tables.  Even thought I'm asking them to confirm, another Filemaker message is coming up after mine asking them to confirm they want to "delete the entire record".  <br />
<br />
Is there a way to suppress this message from Filemaker? ]]></description><pubDate>Tue, 27 Jul 2010 22:20:56 GMT</pubDate></item><item><title><![CDATA[Date and Timestamp]]></title><link>http://fmforums.com/forum/showtopic.php?tid/215816</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/215816</guid><description><![CDATA[ Not sure if this is the right forum. What I need is a way to capture the date and the exact time in a field.<br />
<br />
Here is what it is for. It is a tardy calc I am trying to build. I have a field with a value list and a drop down box. The user can choose between 1st - 7th period. Then there is another box that the date and the exact time needs to be put in. Can this be done automatically? In other words the user clicks on the field titled "Date/Time" and the date and the exact time is inputted in the field. Then I need that field saved forever. Because that same student could come back tardy again but on a different period. So I would need to be able to use that "Date/Time" field again.Hope this makes sense. Please advise.  ]]></description><pubDate>Sat, 24 Jul 2010 16:24:49 GMT</pubDate></item><item><title><![CDATA[Reference a layout object within a tab control]]></title><link>http://fmforums.com/forum/showtopic.php?tid/215805</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/215805</guid><description><![CDATA[ Hello. I'm updating a database I created for my company to keep track of inventory/jobs/purchase orders etc. and I'm stuck on one little thing (it's probably a really easy answer but I couldn't find it when searching). <br />
<br />
I've got an Items layout with the item ID referenced in a web viewer that shows the vendor's web catalog. I already have it working so that when I change items in my database it automatically changes items on the web viewer. What I want to do now is to put the web viewer on a tab control so that it does this in the background but does not display default, only if you click on the tab. I have in one of my scripts an If step:<br />
<br />
PatternCount(GetLayoutObjectAttribute("HDSupplyVie wer"; "content"); "Sorry, no matches were found for")<br />
<br />
If the result comes back true, I want it to show a custom dialog saying I need to update my item. It worked great before I put the web viewer on a tab control. Now I can't figure out how to reference the tab control and then the web viewer in this single calculation. Can anyone help? I'm stuck. Thanks.  ]]></description><pubDate>Fri, 23 Jul 2010 19:27:32 GMT</pubDate></item><item><title><![CDATA[email option -SMTP setup]]></title><link>http://fmforums.com/forum/showtopic.php?tid/215783</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/215783</guid><description><![CDATA[ Hi, not sure if this is the right section to post my question, anyways, I could't send email by scripting in FM.<br />
<br />
I set up SMTP options and the email address I wanted to send msg to, but the error msg popped up saying "the connection was refused by the SMTP server". Any clue of what is going on? Anything to do with the SMTP server itself or my setting in the script?<br />
<br />
Thanks a lot!  <img src="/forum/images/smilies/smile.gif" alt="" />  ]]></description><pubDate>Thu, 22 Jul 2010 17:36:49 GMT</pubDate></item><item><title><![CDATA[Script trigger priority]]></title><link>http://fmforums.com/forum/showtopic.php?tid/215731</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/215731</guid><description><![CDATA[ Does anybody know by which priority script triggers are run?<br />
<br />
And also, if you set a default menu set for a layout, does it apply before or after the OnLoad layout script trigger? I would like to have ordinary FM menus if admin logs in but defined ones for normal users. ]]></description><pubDate>Tue, 20 Jul 2010 06:26:37 GMT</pubDate></item><item><title><![CDATA[Script Triggers, Client Software versions on network]]></title><link>http://fmforums.com/forum/showtopic.php?tid/215704</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/215704</guid><description><![CDATA[ In a small network of two Macs running FM 8.5/FM 9, networked to a third Mac acting as a server via client software, will FM 10/11 script triggers be executable by the clients when they are running the earlier versions of FM?<br />
<br />
 ]]></description><pubDate>Sat, 17 Jul 2010 10:18:20 GMT</pubDate></item><item><title><![CDATA[Script Triggers in FM11]]></title><link>http://fmforums.com/forum/showtopic.php?tid/215672</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/215672</guid><description><![CDATA[ Hello,<br />
<br />
I've been using EventScript plugin successfully for running a script when a field is set to a specific value (an on/off radio button field). Can FM 11 do this natively? I can't seem to find any mention of this functionality anywhere.<br />
<br />
Thanks,<br />
<br />
Alvise ]]></description><pubDate>Thu, 15 Jul 2010 02:13:20 GMT</pubDate></item><item><title><![CDATA[Script trigger not working for pop-up menu]]></title><link>http://fmforums.com/forum/showtopic.php?tid/215569</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/215569</guid><description><![CDATA[ I'm designing a contact-management layout. Each record in this database can be either personal or corporate, and there's a checkbox on the layout so the user can choose one or the other.<br />
<br />
There are fields in each record for both personal and corporate info. Ideally I would use conditional formatting to hide irrelevant fields (e.g., the company name in a personal record), but this layout needs to work in IWP. So I've laid out the layout with two subsections, "personal" and "corporate." But I still want to prevent users from entering/editing data in irrelevant fields, so I've set up an OnObjectEnter script trigger that immediately commits the record if the user tries to edit an irrelevant field (hat tip: raybaudi).<br />
<br />
Problem: This only seems to work on text fields. Pop-up menus (e.g., HisTitle and HerTitle) continue to function, as if the script trigger weren't there! (And yes, those fields do have little golden asterisks when I look in "Edit Layout.")<br />
<br />
What gives? Am I doing something wrong?<br />
<br />
Thanks in advance! ]]></description><pubDate>Wed, 07 Jul 2010 21:00:09 GMT</pubDate></item><item><title><![CDATA[Script active in hidden window?]]></title><link>http://fmforums.com/forum/showtopic.php?tid/215413</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/215413</guid><description><![CDATA[ I am running a script in FMP 9 on a mac that opens up a window with related records in order to act on the related records. <br />
<br />
I have made this window 1 pixel tall and 1 pixel wide, but this little box of a window still flashes if only briefly in a way that I'd like to avoid. <br />
<br />
Is there a way to hide the window but still have it be the active window for the script? <br />
<br />
I feel like there should be an obvious answer for this but I am stuck stuck stuck!<br />
<br />
Thanks!<br />
- Stephanie ]]></description><pubDate>Fri, 25 Jun 2010 20:44:21 GMT</pubDate></item><item><title><![CDATA[On Record Exit?]]></title><link>http://fmforums.com/forum/showtopic.php?tid/215367</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/215367</guid><description><![CDATA[ I am looking for a way to do some validation to keep users from leaving empty fields behind when creating a record. I can't use field validation to not allow the field to be empty because that only works when the field is active. If the user never enters the field the validation is never triggered. I can't just force the user into the field when the record is created because a line item has to be selected first before the field in question can be populated. <br />
<br />
Is there any equivelent to onrecordexit? ]]></description><pubDate>Tue, 22 Jun 2010 17:12:27 GMT</pubDate></item></channel></rss>