Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Script Workspace and Script Triggers

Writing efficient automated tasks with scripts, managing complex business logic, passing parameters, debugging and error trapping.

  1. Started by eyvaldivia,

    Hello Everyone...I'm having trouble printing when I use this script. It will only print the first 5 records out of 40 plus records. Can anyone help me out please. Thank you. Go To Layout ["Postcard"] Enter Preview Mode [] Print [No Dialog] Enter Browse Mode [] Go To Layout ["Pacific Ford"] -Raul

  2. Started by DonH,

    Currently each user has a little app on their desktop that has a FM file that does 1 thing, connect to the main FM app on the FM Server. It has 2 lines in the script 1) minimize the window 2) run a remote script on the main layout page of the application Now what happens is a person clicks on the startup app on their desktop. A FM window opens and then an ALERT popsup saying that CHART.FM can not be found. Next click on OK and then the box opens that has the HOST selection on it. What I want to know is how do I make it so that the ALERT popup doesn't occur. Just click on the desktop icon and it goes to the CHART.FM and then the INITIALIZE script …

    • 17 replies
    • 1.6k views
  3. Started by Sap,

    I'm trying to run a Microsoft Word (win2k) macro contained in a script that loops about 100 times. Word is opened using the send message script step once before the loop. I guess it's just a syntax problem but I've tried every possibility and it's driving me nuts! Service name : Winword Topic : system (using a document's name doesn't work) Commands: I've tried everything: [<macroname>] [run <macroname>] [run ("<macroname>")] [call <macroname>] [application.run <macroname>] (Every instruction between the [] is performed under a sub TmpDDE.) I've tried every combination of quotes and brackets... -One problem is that Wo…

    • 2 replies
    • 1.2k views
  4. Started by Shana,

    I have set up a script that enters preview mode and brings up the prints and brings the user back to the original layout. This is exactly what i want to do however everytime the print script is called it prints EVERY record instead of the current record which is what I need it to do. I could potentially have the dialog come up and have the users choose Print page 1 to 1, but my coworkers aren't that computer literate and this could be a fatal mistake seeing as we will have hundreds of records in this database. How can I fix this problem? Thanks. -Shana

  5. Started by SpiicyTuna,

    I am making a database for work. It includes all employees. I need a script to randomly pick a person. Easy no problem, I am using "Int(Random*Status(CurrentFoundRecordCount))+1" then goto that record. My boss just threw into the loop that he wants it weights. All employees will have a rating 0-3. If an employee is 3 that person should be picked more frequently than someone with a 0 rating. How in the heck can I pull this off? I am stumped. Sample code would be great! Thanks for the space.

  6. Started by Shari,

    I have two files that are related: confirmation letter and request form. The information from the request form populates the letter. This relationship is working when you open the letter file and manually enter a request ID(field). I would like to automate the process. I want the request form to automatically launch the letter with all the information from the related record when the user clicks on the letter button. Thanks, Shari

  7. Started by Darrell,

    The DB I am designing has omited records. I do not want my users to see the omited records. I have figured out how to keep my users from seeing omited records. Now here is what I am running into. I have my users sort by date then print the found set. When they make a new record it shows the found set from the previous find. I want to show all records that are not omited with a new record. How can I make this happen?

  8. Hi, In my database I have a field that holds a filename for another FM database. This name is different between records. I'd like to run a script that takes that filename and places it into an Open[] statement to automatically open that file. My problem is that Open[] seems not take an entry other than by pointing to a filelist. Any ideas please.

    • 4 replies
    • 779 views
  9. Started by DonH,

    Is there a way to have a script run as soon as an app starts up? For instance. I currently have a FM app that checks for a file in a folder. If there is a file there it imports the data and deletes the file. This FM app has to be manually started. What I want to do is intergrate it into the primary app. So now if the main applicatioin (CHART.FM) is shut down (nightly for backup) when it is restarted it will automatically start checking for files in the folder.

  10. Started by hollytheworldover,

    i have a website w/ data i need imported to filemaker pro. on the website administration section, the following appears: name: (field w/ name) address: (field w/ addr) Phone: (field w/ #) i need to get the data from the web browser into the filemaker fields of same name. db on site is not filemaker db. can this be done? how would i do it?

  11. Started by JAG,

    fileMaker 5.5: I would like to pause a script so the user can make a selection by clicking a button on the screen. I would like this button to take some action but to then continue the paused script. How can I do this? It seems that the only way to continue a paused script is to click the continue icon in the status area.

  12. Started by Shari,

    Help!!! I need to automate the count of students attending a certian training class and return the data to the request form to verify class availability. My request form is in a separate file that I can script to open my class roster file. The class roster file contains all the records for all classes. I want to find only those classes that match the class ID from the request form, which is the last record in Browse mode on my roster file. So, as a human, I can see the class id in Browse mode and enter that information in find mode, which produces my desired result. But I need to automate this function. I already have a count calculation and class stat…

    • 4 replies
    • 583 views
  13. Started by ddreese,

    There are two files of importance here: "Significant Others" and "Household Members". Both of the files store the same sort of information, but the "Household Members" file needs to be as close to un-duplicated as humanly possible. In other words, in the "Significant Others" table, the same person can have multiple entries (records), but they cannot in the "Household Members" table. The problem I have is that when a certain action occurs, all the records in the "Significant Others" that are related to a particular case need to be copied into the "Household Members" table and related to a NEW case in a different file. Now, persons coming in from the "Significant O…

  14. Hello all, I have a solution that I am working towards and I have the flow of the project layed out, I just need some advice on how to get the filemaker portion done. Let me go throught this part by part and see what you all think. Thanks! All the data is going to be exported in some form to XML, I am then going to process this with XSL to get HTML pages. The first part, I am going to need out put that lists every item in a list and each unique item from another list that is associated to that list. Example: I have states in a list, four or five states, I then have a list of locations, of coures in all these records when a certain state is selected, t…

  15. How to view records as preview mode in browser after publishing. by default it is showing as form. I want to trigger printout from the webbrowser.

  16. Started by Addam,

    Hi Everyone! OK... In CDML you can capture a "true" or "false" if someone can create a new record... Is there a way to do the same thing using FMP Scripts? Example: I created a script for creating a new record. It goes through all types of other finds n' junk before it actually get to the FileMaker "Create a New Record". MY PROBLEM: I'm trying to caputre that information early on in the script so I don't have to re-write this script. I can't use the "Error Capture" because the error won't get noticed until the END of the script. I sure can use some help on this. Thanks a bunch!

  17. Howdy, folks! I normally prowl the CDML/web forums but I'm new to scripts and can't figure out how to exit the LOOP I made for eliminating duplicate records but keeping the latest record created. I'm basing my script on a Jason Wood script ( JASON WOOD POST ). It's not really checking ALL FIELDS for exact duplicate records, just if a (supposed to be) unique field occurs on more than 1 record, the newest is kept and the rest are deleted. LOOP A find for ! in a field will find all records that do not have a unique value in that field. [EXIT LOOP IF... Here?] I set a global field to the value of the User Name field (my key field) in the first record. I perfor…

  18. Started by Robbydobbs,

    I have multiple databases that are related together by saledates. If a person was to enter the program, they would enter the saledate they wanted to work in at the entrance of the program and everything in the program would be related to that saledate. For example: Enter: [saledate] (8/5/2003) Press

  19. Started by BigRobA,

    Probably been asked before, but can a custom script you wrote in ScriptMaker be run automatically if a calculation field or any other type of field becomes a certain value? I would find this very useful for error control. For instance, if someone enters 3 in a field they aren't supposed to enter 3 in I would like it to automatically run a script that pops up a warning box that says "don't enter 3 in this field." Is there any way to get it to do this without having to have the user manually run the error control script after each entry?

  20. Started by Liz,

    I have a product database that has about 15 different manufacturers. I need to have each sorted in a different way depending on the manufacturer. So I have created an If script to sort each different (ex: If manufacturer="Jetson's sprockets" and then sort)I get each product line sorted the way that it should, create the script, then test it. Everything is good, BUT when I go back later and try to do this the script either won't work at all, or it doesn't sort the items in the correct sorting order. I have done this for each of the 15 or so manufacturers, but it only messes up on some of them. Is there something that I am doing wrong?

    • 7 replies
    • 979 views
  21. Started by Brown932,

    I would like to create a script that would help in creating a data base of a work schedule. I have 4 shifts and I would like to be able to insert shift "A" into the field and have the names of shift "A" appear. That could be all in one field but preferablly all names in different fields so that we could indicate if the person actually was working or off on specail assignment or other detail.

    • 3 replies
    • 755 views
  22. Started by vasilek,

    Can you run a script from an executable application made with FileMaker that you install as a program that will look at the latest data in the remote database (which is not an application), hosted some place else and update the data in the local application? Thanks

  23. Started by faheemhameed,

    Hi there, I understand from the filemaker documentation that the filemaker 6v4 uses Xalan XSLT style sheet processor. But I wanted to know the version of this processor. Can I update the processor to it latest version if it is available somewhere. (Where it is available?) Thanks a lot. Hameed

  24. Started by Reed,

    I'm going to apologize in advance for the extremely long post, but I'm really stuck here and I'm hoping someone can help me out. I have created a report that breaks down sales by account number, and contains subsummary parts broken out by different customers who use the same account. I'm pretty sure that the only way to get the subsummary values into fields that can be used in calculations and scripts is to export the data to another file and reimport the data into a file that contains the scripts and calculations that you want to use. (Can anyone tell me if there is another way?) I'm sure everyone is familiar with how the subsummary data is formatted in the e…

    • 2 replies
    • 584 views
  25. Hello, Is there a way to capture the text string value for the file name chosen through FileMaker's 'Insert Picture ()' function? I've created a simple button that allows a user to insert a photo, but would also like for that script to write the file name to a separate field. Thank you.

  26. Started by Vaughan,

    Executive Summary Is there a way of determining whether a find request has been omitted? Something like a Status(FindRequestOmitted) function? Long Version: I have a tightly controlled interface where the Status Area has been hidden and locked off. I've built a find interface and it works well, even to the point of allowing omitted searches. The users want to be able to use the Modify Last Find command, but my system breaks when restoring a find that has omitted requests in it. An explanation of how the omit feature works in my interface: A script enters find mode, goes to the find layout and pauses; in find mode the user has an "omit" check box that they…

    • 2 replies
    • 603 views
  27. Started by Dave Sandburg,

    I'm fairly new to FM, so please bear with me if this question sounds dumb or has already been answered. I run a small business and I'm creating an employee database. Within that DB I want to be able to continuously track vacation time used and earned. But I would like to have the vacation automatically increased on the employee's anniversary date (but only once each year regardless of how many times the script is run). The increased vacation varies according to seniority. Of course, whenever an employee takes vacation time that would be recorded (I'm using repeating fields for start date and end dates, then calculating number of days) then automatically deducted f…

  28. Hi Everyone, Can anyone help me with this one please? Having performed a find in one file, (by finding related records) and moved via portals etc to the file in which the data resides, I have the range of records and information I require (say 5 records). In order to see one particular record of these five as it will be printed, I have to do a "find all / omit record / find omitted" and move to preview. Otherwise the first record of the 5 is shown in preview, not the one I wish to see. .... Ok so far. My problem is that I then wish to return to my chosen range of records to deal with another of them. This effectively requires me to regain the original find requ…

  29. Hi Everyone. I have a small relational sub-solution in which I can arrive in one file from either of two others. The initial script from either of the two first files uses a sub scipt in the destination file. If the "If" fails in the destination file and I wish to return to the original layout in either of the first files, is it possible to do so even if I do not know which file I have come from? Layout (original Layout) does not appear to work. I appreciate that this is a basic question to many - but I'm stuck! Would be grateful for any help.

  30. Started by tallboy755,

    Is there a way to have a message box pop up at the begining of a script asking ... "Are you sure you want to delete all records" .... and (here is the catcher) If they click yes ... the script continues or if they click no the script exits?

    • 18 replies
    • 1.6k views
  31. Started by pkudrle,

    I want a script to exeute a different script if it can't find similar records. I have a script that grabs the name of a title, then goes to another database and searches for similar items with the same title. What I would like to happen is that instead of getting the screen, "no records match this request", the original find script would instead execute a different script. So basically some type of if then statement, but how do I use scriptmaker to execute this? Thanks, Paul

    • 2 replies
    • 637 views
  32. Started by Jade Yoyo,

    I need to write one script to delete one repeat field in all records. I write one script, it will just delete one field in one record, anybody can help me out? thanks

  33. Started by Nandha,

    I created One report using columarlist/report. After Publishing it, I looked at the report in web in preview mode. but it is showing one record at a time. But in FileMaker shows correctly.. Advance Thanks

    • 0 replies
    • 627 views
  34. Started by Kristen,

    I don't think scriptmaker is the place for this, but I did not see a better section. I have created a subsummary report, and would like the users to be able to VIEW the entire report on screen. I have no problem if the report is 1 page long, they get the full view in preview mode. However, if the report is multiple pages, is there a way that they can view the complete report without printing?

    • 4 replies
    • 727 views
  35. Started by jalutz,

    For an upcoming promotion, I need to be able to select a customer at random. Each customer has a unique number in my FM data base. I'm trying to develop a script to accomplish that within FM. Possible? I have already created a field that I can mark customer records that are eligible (ie has an e-mail address and hasn't won before). The perfect script would only scan the selected records and randomly select a record which would become the "winner". Possible within FileMaker? -- jal

    • 3 replies
    • 1.5k views
  36. Started by Karen1958,

    I want to have data in a radio button field change automatically when I enter data in another field and can't remember how to do this. Scriptmaker doesn't seem right for this; thought I remembered that there was another way to do this?

  37. Started by brownees,

    Is it possible to toggle or turn off toolbars with a script in v5.0 for Windows?

  38. Started by AeroGuy,

    I created the phrase field (i call it "Common Phrases") that holds a list of words (blah1, blah2, etc...) by way of a value-list. so, after creating this field, i'm able to click on it (while in Browse Mode) and choose a phrase (blah1, blah2, etc). The problem is that these phrases aren't being inserted into the field (a large, textbox-like field called "description") after i run the script/button. My script is just one line and is as follows: Insert Calculated Result ["Common Phrases"] This is correct, right? so, while in browse-mode, i go to the Common Phrases field, i choose the phrase that i want, then i click in the "description" text-box, and then i click…

  39. Started by nolimitsit,

    Dear All, I am trying to execute a script that is used to remove redudant data. I perform a search for duplicates and then execute the script to remove the appropriate duplicate. The problem is that if the search returns an empty set, the script is executed anyway. How can I stop it from running if their are no duplicates? Thanks Dave Collins No Limits IT Inaburra School

  40. Started by macaroni,

    In Script Maker, How do I perform a find by literal value? When performing the find manuallly, their is the option of literal value where the text is enclosed in quotes. I need to perform the same thing in a script. I tried Set Field ["sel_type", """& seach_sel & """]; but this only returned the actual string "& search sel &" as opposed to the value of search_sel enclosed in quotes.... Thanks. ron

  41. Started by macaroni,

    I have two databases, database_1 contains a field with an assigned value list of check boxes from a field from another database, database_2. The frustration that I am experiencing is that when I perform a find by clicking on one of check boxes in the field, I am getting the wrong results. In one case, I perform a find by clicking on one of the checkbox in database_1, the result would be the records with the checkbox actually selected and other records that don't have it selected. I can't understand what is wrong with my databases... Attached is a sample of what I am doing. Test 1 contains records that has the field with the check box value list in it ta…

    • 3 replies
    • 573 views
  42. I have one database that is set up for user access and has portals, etc. to all my other files. Let's call this file Portal. I originally had all related files set up for no layout access through password grouping. Upon realizing that in order to script reports to run from my user database Portal, I needed to allow users access to layouts in each of the files even if they don't see that they are accessing the layout. So, for security I scripted the Status Current Groups to default to a security layout and lock the status area. I added this as a opener to each database and it works great if you open each related file individually. Something like this was set a…

    • 12 replies
    • 664 views
  43. Started by elizabethb,

    Hi - I have what I hope is an easy question. I want to flag duplicate records with an "X" Here is the script: Sort Go to Record [first] Loop Set Field [global, unique id number] Go to Record [next, exit after last] If [unique id number = global] Set Field [flag, "X"] Else Set Field [global, unique id number] End If End Loop I've simplified the field names for clarity. Anyone know why it's not working? Thank you.

  44. Started by Aussie John,

    I have a script button which scrolls down a page. Of course it leaves the button behind and cant get back easily. Any ideas?

  45. Started by JitseSchaafsma,

    Is it possible to activate a script based on the results of a calculated field. For example if a calculated field exceeds 50 then i script should be started. Is this possible in FM 5.5 (or higher if needed) Thanks Jitse

  46. Started by tallboy755,

    I want a option for my user to toggle between Form and List view ... When i use the "View As" function it has the ability to cycle ... however if my button to trigger this script is in my footer it disappears at the table view ... without creating two identical layouts with two separate scripts ... how can i get it to just toggle in between Form and List view???

  47. Started by Jason Goldsmith,

    I'm trying to create a script to search a field in a related file, copy the latest entry into that field and bring it back to the master file. Seems simple enough with the 'go to last record' command. However, some of the records in the related file have no data entered into the field of interest. I would like to omit those records with empty fields before going to the last record? How do I accomplish this? Thanks in advance!

  48. Started by Armitage,

    Hi All, I am sure this shouldn't be too bad for you expert types.. Ok so all I want is a script that matches the requested_date in one file with the available_date in another and this then lists all those people that are available in another layout, if you need more details please ask, I am desperate for assistance Thanks all

    • 1 reply
    • 755 views
  49. Started by nsl,

    I have two Filemaker files, same format, they are names and addresses files. I want to merge them into one file and remove any duplicate records. Is this possible, if so, how? Thanks, Nigel.

  50. Started by pkudrle,

    Since I have now taken a intro programming course I want to start using some of what I learned with Filemaker. I want to perform a script that will determine if the production status is unknown then omit that record or records. Here is what I have written. Enter Find Mode[] Go to Field["Prod Status"] Perform Find [Restore] If ["ProdStatus" = "unknown"] omit record End If My problem is that it will only omit one record at a time. So I am thinking I need to do a loop of some kind. Where it would go through each record to see if the if statement is true. How would I do a while loop in Filemaker? Paul

    • 3 replies
    • 702 views
  51. Started by hafnerd,

    I'm wondering if there is a script already made to export to a flat-file. i need to export a number of fields from filemaker to tab separated file. i've done this a few times, but sometimes i create my own errors. i figure scripting the export would cut down on human error. any suggestions? or should i use applescript. using 5.5 FMKRPRO

    • 4 replies
    • 704 views
  52. Started by dharkin,

    hello all, this is getting to be a regular spot for me a script question, can you script so a user has to complete or access a particular layout first before going to another layout (student layout must be complete before going to course layout or agreement layout) d

  53. Started by Dan-A,

    Hi All, Anybody have an idea on how to "see" what the system date settings are in a Mac & a Windows machine?? The idea would be to re-construct a date (based on the system settings) that must be in a mm/dd/yyyy format regardless of system settings to pass to an external function.

    • 3 replies
    • 717 views
  54. Started by Huaxi,

    When user come in, they will see the login page, enter userid and password then press "login" button, however, we want everything to be able to be done by keystroked as well as with the mouse. i.e. after putting an userid, using the return key should go to password filed, after putting the password, using the return key should log in automatically. Any ideas? Thanks all

    • 3 replies
    • 810 views
  55. Started by Henry,

    Allow User Abort[off] Set Error Capture[on] Print Setup[] If["Status(CurrentError)=1"] Exit Script End If Go to Layout("Print") Print[No dialog] Hi there, i have a script that is use for printing. After user click on the button, it will display out the print setup box to let user select printer and paper size, it the click cancel button in the print setup box, the script will stop. If the click ok, then it will go to another layout and print the record. Now my problem is if i change the Print Setup[] to Print Setup[Restore], the If statement will not working, even i click cancel button, the script will still continue. I need to set the script bec…

    • 5 replies
    • 635 views
  56. Started by Firebrand_NI,

    Hi there guys! Is there any way or script that would allow me to show information in a different field after a particular peice of data is selected in a pop-up menu. For instance I have a pop-up feild containing emails list and when a particular email is chosen I'd like the relevant pop and smtp details to appear in another feild relating to that email choosen Many thanks!!

    • 1 reply
    • 627 views
  57. I am a DB admin/developer on a system developed by Filemaker Pro. I inherited it without any documentation. I am supposed to document it and then continue developing it. I used to develope database systems by Access, Paradox, etc. Is there any tool that can be used for documentation? How can I trace/ debug scripts? I appreciate any advice. Thanks, S.D.

    • 6 replies
    • 1.1k views
  58. I need to write a script that will duplicate a record and all of its related records. The first file has an auto entered serial number as its unique identifier. The second file has the first files serial number as its identifier. It is a one to many relationship. I have tried several different ways but have not been able to do it. Anyone have any ideas that I can try? Thanks, John

    • 7 replies
    • 593 views
  59. Started by pvivacqua,

    I want to calculate the ninimum and maximum value on a date field (earliest and latest date) of a set of records. I created two global fields and have a script that set this fields one with the max(field) and the other with the min(field) function. The problem is that when the script is run, it sets both fields with the minium value (earliest date). Does anybody knows how to make it work? thanks.

    • 2 replies
    • 706 views
  60. Is there a Script to prevent a Scrolling mouse to scroll through records rather that to simple scroll down the single page? FMP 4.0v1 Corey....

    • 1 reply
    • 623 views
  61. I'm trying to write a script that exports a found set of data to a file named "export.csv", and then have the script tell another application to open that new file. I'm on a Windows machine. I know how to do the export and write the file, but I can't figure out how to tell the other application to open the file. I've tried SendMessage and SendDDEExecute. With SendMessage, I've successfully opened the file with MS Excel (not what I want) and I've been able to launch the application I'm interested in. But I can't get that app to open the export.csv file. TIA, Artie

    • 4 replies
    • 903 views
  62. Is it possible to let a user go in and alter layout set. Specially is there a need for custom set, to nudge some fields for printouts. With two different printers I get two different hights on some fields. On both Windows and Mac, is the same problem.

    • 1 reply
    • 594 views
  63. Started by -Queue-,

    When using Open URL or Send Message, is there any easy way to either test for the path's existence or prevent the error message that the path cannot be found from being displayed?

  64. Started by jeffer,

    Hi, I have a date field (type:date name:currentdate) with a date in it (what a suprise:) Now I only want to change the month with a script. So I have been busy writing some scripts that searches in the datefield to the current monthnumber and replace it with an increment value like 1. So when the month is 8, it replaces it with 9. But it seems that there is something terribly wrong with this set field calc...maybe someone wants to take a look on it? Replace(currentdate, Position(currentdate, "-", "1", 1), "2", CurrentMonthNumber + 1) any help is welcome:) greetz, Jeffer

    • 5 replies
    • 671 views
  65. Started by Henry,

    Hi there, just asking how can i checking the ascii code for certain character, like the ascii code for "a" is 97. Then if i set a script to change the ascii code, the character will change, like if i set a=a+1, now the character "a" will become "b" or i set it to a = a + 3, it will become "d". Regards, Henry

    • 2 replies
    • 901 views
  66. Started by datafirm,

    Hello all, I am just jumping into the scripting portion of FM. I need to execute a find within the scripting languge so I can export certain records and fields into XML. I can export all the fields no problem. I assume one needs to perform a find to narrow down the results they wish to export? I have a few lists(?) that I would like to loop through, and one I would like to just export the unique keys. Examples: * I have a list and I would like to just export the XML data for all the items in the list. What is the best way to accomplish this. I suppose I could do a dump of the whole database and while parsing through the XML with XSLT I could just …

    • 14 replies
    • 1k views
  67. I have a field where the user types some information, then I want some other text appended to the begining and end of what they type, but it must be bold. The only way I know how to edit text is to use a button, where the user types their info, then clicks the button to append the other text to what they typed. But how do I get the script to append bold text? Unless it's appending text from a field that is already bolded (which isn't an option)

    • 3 replies
    • 833 views
  68. Started by Darrell,

    I have a field that is called Status. In the field there is a calc "If(Inservice="" ," Open" , "Closed" )" what I want to do is create a find script the goes to this field, paste "Closed" in the field and then completes the find finding all records that are closed. Any idea if this can be done? Thanks

  69. Started by Henry,

    Hi, Just want to ask about the script to set a program valid for 30 days only, like today is the date for first time using the program, after 30 days, the program will not allow user to run or use it. Henry

    • 13 replies
    • 1.1k views
  70. Started by dmalone,

    How do you omit files with an entry in a time field.

    • 13 replies
    • 925 views
  71. Started by Cin,

    I am working on a set of scripts to import some data from excel. I am trying to create a serial number in a blank field. Example. I have a voucher #R8387. I want the next record to show R8388 etc.. This is not an auto-entry field and do not want it to be. I cannot set it up in Excel the data is actually 2 types. I need to set up a serial number for one type and another number for another type. Any help is appreciated. Cin

    • 3 replies
    • 675 views
  72. Started by ddreese,

    I have a file that is running a startup script that checks to see if I'm 'logged' in. Apparently I have the syntax wrong on the if statement because my file will close itself (what happens when the user is not logged in properly) before I get a chance to do anything with it. I don't remember what test I would have used, because I've tried to edit the values manually, but it doesn't seem to work. I've also shut down the server and worked on the files from there, but that doesn't seem to work either. Any suggestions?

    • 2 replies
    • 591 views
  73. Started by Need2Know,

    I'm using the send email script to send email to people. I have the database in multi-user and I am able to send email through Outlook using my computer, but when the other 2 people try to use the buton to send the mail, it doesn't do anything. Can they send also, or does it have to be done through my computer only. What can I do to the script to let them also email from their computer??? Thank You.

    • 8 replies
    • 1.8k views
  74. Started by macster,

    Hi, I am new here to the list and well also new to filemaker pro. I am creating a database for my school and well up to now I have an ok question. I have two value list as (pop up menues) one of the lists is a (1) class id number menu and the second list is the (2) class name menu. What I want to do is the following. When I select the class id number menu and select an id, I want the class name menu to set itself to the corresponding class name of the class id number. (e.i. I go to my class id number menu and select id 01.00. I want my class name menu to set itself to "mathematics" because that is the name for the id 01.00) hope someone can help me. I al…

    • 1 reply
    • 791 views
  75. Started by e3digital,

    How do you program the buttons in a message to do what the text says? I have a TimeClock file which keeps track of the amount of time I'm working on my current project. I have a script in this file which inserts my quitting time. In the file I'm actually working on (SES DB) I have a script which triggers the script in TimeClock and then quits FMP. This works fine. Here's where my question comes in...there are times when I would like to stop working on the current project but keep FMP open. In the SES DB script I Show Message, ("Do you want to quit FileMaker Pro?") but I don't know how to program the buttons so that the program does or doesn't quit. …

  76. Started by Ranginald,

    I'm having trouble with a simple find script in filemaker (and I'm coming from a SQL background). I want to look in the list of sales (my sales file) (having the fields: employee, product, number sold, etc. etc) and pull all the records associated with employee "smith". In scriptmaker I think the format should be something along the lines of(from reading this and other boards): Find Mode Set field and select the appropriate search criteria Perform Find It's been suggested to have the format along the lines of: Set Field[Employee, "==Smith" in order to return all the records with smith. 1. I can't seem to get ANY finds to work and I don't know w…

    • 7 replies
    • 762 views
  77. Started by tallboy755,

    Here is the senior... I run a photography studio. I mostly photograph high school seniors. I have a database with about 7050 seniors in it, 5058 of which are unique. Each record has a date and time that the senior is to be photographed. The duplicates are about 2000 students that are entered from a previous shoot. I need a script that will delete the duplicate record(s) with the older dates ... Example :: John Doe 7/2/03 John Doe 5/23/03 John Doe 3/18/03 I want only the john doe with the 7/2/03 date to remain in my file... I am an amature when it comes to this stuff ... please help me! ...::: Also just another note to add - I d…

    • 8 replies
    • 797 views
  78. Started by brianrich,

    I have a database under development (for some time) where I have recently experienced a problem with external scripts failing. I have a script in database A which calls a script in database B through a perform external script step. When I click a button which runs this script, the database complains that "perform script has been cancelled". When you look at the peform script definition, it seems to know the file but doesn't know which script to run. If you re-establish the correct script, everything is OK until your close the file. Next time you open it, the same error message is back. I've tried recovering both databases with no effect. Filemaker Tech Support (…

  79. Started by John Chamberlain,

    So I bought this pre-paid phone card (2.9 cents a minute!) thinking I could write a script that would auto dial the required numbers. Problem is, you have to dial an 800 number, wait for an answer, and then enter the nine digit authorization number on the card. Dial Phone script step does not work if there is no dial tone. Anyone know how to do this? TIA

    • 5 replies
    • 679 views
  80. Hi! I tried to do a search on this in the forum before posting, but I couldn't find a solution. At the moment, my manager has requested I write a "dumping" database for importing Excel timesheets for each employee. From there I will "clean up" the blank and invalid records with a script. SO FAR SO GOOD. Now I need to validate the following: Job Number Field: check against an existing Job Number Log database and make sure the number exists (FYI it is 2alpha 3numeric format, ex: PR562, TI744, etc.) Job Code: make sure it's a 3-digit number between 101 and 324. Finally, I need the database to show me all records that do not meet this criteria so I c…

    • 9 replies
    • 769 views
  81. Started by simonr,

    Hi All, I'm quite new to scriptmaker and I jope someone can help. Is it possible to make a script that checks the date on a database field and, for example, 3 day before that date fires out an email to the address in an email address field. The purpose of this would be to notify people of appointment etc 3 days in advance. Any help is getting this going would be really appreciated.

    • 0 replies
    • 863 views
  82. I need a script that will allow me to require a password before a script is run. Is this possible? If is possible, can you help me with this one? Thank you very much in advanced. Regards, Carlos Henriquez

    • 6 replies
    • 1.1k views
  83. Started by Peza,

    I'm fairly new to FM, I am attempting to build a record template which i can enter detailed information on Work we require to do for that particular job. All is ok so far, however i am at a point where i fill in the simple blanks (like address and numbers), but with every new record that will be entered, the work needed to be completed varies (ie some times we have three jobs, other times 15 jobs). Could anyone tell me the way that i could somehow create a button that can generate afew new fields to enter more work.... (i have created the first fields, where one is a POP-UP MENU with the type of work, and then a text field where we enter out details of the work)..

    • 1 reply
    • 597 views
  84. Started by toshog,

    how you do a script where the find can find different things every time?! i don't know what the next search it will be on. i need to make find script that will search for different values in the same field. a lot of values. can't do a find script for every one! how is this done? can a script be done in which the find searches on a given global field value?

    • 6 replies
    • 729 views
  85. Started by bob sherman,

    I think something got corrupted. When I attempt to open a file through the a script, I get this message: "This script cannot be found or has been deleted." All of my other "Open" scripts work. I've redone this a few times and still I get the same message. AND, BEST OF ALL, when I open the file all by iteself, I still get the same message even though no script is involved. I have to click through an extra step for the program to open. Does this make sense?

  86. Started by kim_od,

    Hi, I need to rename external files (image files) based on the field value of FMP database. Say I have a DB with following structure. FilePath(Text) FileName(Text) NewFileName(Calculated=Style, Text), Style(Text) ------------------------------------------------------------------------- C:samples a.jpg fancy_pants.jpg fancy_pants I am guessing that I might have to use DDE command from script. For Example, "rename a.jpg fancy_pants.jpg" Has anyone done this or perhaps point to a right direction? Thanks in advance! Many Thanks

  87. Hello, I was wondering if someone can help me with this. Basically, i have a note field where people type in the notes. I want to prevent the option of delete the content of that data, i just want them to be able to put data but not delete it. I think saw some sample file somewhere before but i don't remember. i am using filemaker pro 3.0. Thank you, Victor

    • 3 replies
    • 543 views
  88. Started by dharkin,

    can someone give me a heads up on how to create a script for the following scenario I have a drop down box with choices. If that field becomes populated with one of the selections then a note pops up telling them to contact so and so I do not want it triggered by a button if possible, it can trigger upon closing Thanks

    • 18 replies
    • 2k views
  89. Started by tallboy755,

    This may be a long shot ... but is there any way to email an entire report to someone .. or export it to a pdf and them attach it to an email ... any ideas

  90. Started by jeffer,

    Hi, Is there a way to scroll trough a portal and, after you have selected a row, push a button (like the command or control key) and that a script will be triggered that does something with te record in the portalrow? I have the doscript plugin. But it seems that their functionality for key script triggering doesn't work anymore...maybe somebody knows an other approach? thnx & greetz, Jeff

    • 4 replies
    • 711 views
  91. Started by AeroGuy,

    Is it possible to make a script/link that will go to a different file (FileB) from the current file (FileA) and change to a different layout of FileB? In scriptmaker, i noticed that there is an option to change layout where you specify what layout you would like to switch to, but this option does not work when you want to change to a different layout of a different file. for example, from FileA, the script is instructed to open[FileB], then to change_to_layout[some layout #]; unfortunately, what happens is that FileA switches to that certain layout# and not FileB Suggestions? ~me

    • 2 replies
    • 600 views
  92. Started by jeffer,

    Hi, When I use the "open" (hidden) script step, it won't open the databases hidden:( So when the most window closes...the currently opened databases will be visible. Does anyone know a solution to this? Is it a bug? thnx allready:) greetz, Jeff

    • 9 replies
    • 789 views
  93. Started by Henry,

    Hi there, now i want to try to create an encryption and decryption system, can somebody tell me how to create this kind of system, or where can i find the sample file. Regards, Henry

    • 0 replies
    • 606 views
  94. I have a file that contains data on all employees and volunteers. I have a second file that is related through the field "ID No." (this number is established each time a new record is created in file number one). What I need is a script in file number one that will copy the ID No. and then open file number two and paste the ID No. into a new record there. Can anyone tell mne how to do this? Thanks,

    • 7 replies
    • 822 views
  95. Started by Aussie John,

    I have a file which is a template. As such i want a user to click on that file ( or any other start point) and create a clone with a user defined name and location. Thats fine- use "save a copy as" in the scriptmaker. Problem is can the user then proceed automatically to the new file with minimal user input. I suspect an applescript is the trick and im in the wrong forum so will post there as well.

  96. I currently have the following script. If [status (CurrentMode) = 1] Perform Script [beep beep not in find mode message [sub-Scripts] Exit Script End If #

    • 3 replies
    • 689 views
  97. Started by Mad Russian,

    I have a (Client) file in which I record basic information about therapy clients. In a related file (Reports), I have multiple fields that record outcomes and over time the status of each outcome for each client. The (Reports) file can store outcomes in Initial Reports and at later dates in multiple Progress Reports and finally in a Discharge Report. In each report after the Initial Report, I want to retrieve all previous outcomes for the client and update the status of each outcome plus add new outcomes. My thought is to establish a relationship from Client to Reports based on CLIENT ID concatenated with REPORT NUMBER. REPORT NUMBER will increase from 1 for e…

  98. Started by Todd,

    I'm trying to figure out a script that will examine two or more date fields, compare them, and then choose the one that is the most recent. Ultimately, it will need to choose the record to which this chosen date field is attached. Any ideas? Thanks.

  99. How do I use Set Field to set a field to the 2nd Repetition in another field in a script I'm writing? Is there a way to write (describe) it in the Specify Calculation window that I don't know about or do I need to think about a workaround?

    • 2 replies
    • 583 views
  100. Started by David Fairbanks,

    I'm trying to make a inventory/order database. I have one file that has all of my items in individual records (quantity, description... etc.). I want to be able to put ordered quantities in a field then "export" the order to another file to keep a record of ordered items. In this second file, I want the quantities in one repeating field, the descriptions in another repeating field and so on. This way if an items changes in the inventory (deleted, change description... etc.) the orders are still intact. This is why a portal will not work . What I can't get to work is a script function to put the contents of a field from the inventory file to a repeating field in the order …

Recently Browsing 0

  • No registered users viewing this page.

Who's Online (See full list)

  • There are no registered users currently online

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.