Script Workspace and Script Triggers
Writing efficient automated tasks with scripts, managing complex business logic, passing parameters, debugging and error trapping.
11,222 topics in this forum
-
Hi All, I have a problem with "Open URL" when I connect to my DB using open remote file. What I did is made a file (Table::File_Path). Now when I click a button"Open URL" that will point to the file_path Field and open a .jpg document. It worked fine locally, but when I Turned on the sharing and connect the other PC using remote, the Open URL do not work anymore. Is there other way that I can open .jpg files that resides in the host PC. Or can anyone suggest of a script to do this. I wanted to post my file but its big. Thanks in advance. again newbie forever
-
- 1 reply
- 791 views
-
-
Hello Hello! I am current running a simple PatternCount calculation that is based on a dated entry. ie: when date field is plugged in with a value "8/6/2006" , the PatternCount looks for all entries beginning with "8/6/2006" and counts accordingly. It is currently working without fail for a 'single record' even though the date field is global. What needs to be done to insure that all records (even though they are updated with the new date value) are recalculated accordingly? Without the need to calculate every individual record. Thanks in advance.
-
- 6 replies
- 1.2k views
-
-
I have the following script: Enter Find Mode [] Go to Field [“Today’s Date”] Paste Current Date [“Today’s Date] Perform Find[] If [“Status(CurrentRecordNumber)=0] Perform Script [sub-scripts, “Import Names”] End If All works well EXCEPT if there are no records I get the nasty message after Perform Find “No records match this request.” I have to click “Continue” then the rest of the script is completed. Is there a way to do away with this message box and complete the script? Novices will be using this and I don’t want to confuse them.
-
- 3 replies
- 729 views
-
-
Hi All, I need a script that will give me a warning based on due date. For example: The due date is (September 1, 2006) Current Date (August 12, 2006) Three months before the due date I need the DB to warn me July 1, 2006 a warning "Reminder" text in green color One month before the due date August 1, 2006 a warning "Warning" text in yellow color Two weeks before the due date August 17, 2006 a warning "Urgent" text in red and blinking Then a check box that the user will check if the task is already delt with. Then the warning field will be empty. Thank you all in advance.
-
- 6 replies
- 1.3k views
-
-
Hey everyone, Over the past few months I have taught myself FMP from scratch in order to create a database entry system for the new company I am working for. We sell custom window treatments and are looking for a way to migrate from our antiquated paper based system into the more efficient world of the computer. Here is my problem (and I have attached the graph to make it easier to follow) Each individual order that gets processed may have more than one supplier providing the materials for the job. To track this possibility I set up the Manufacturer Orders table to be linked to the Contract table which handles the orders themselves. The Manufacturer Order t…
-
- 0 replies
- 1.2k views
-
-
Hi, Is it possible to add the number of input fields with a custom dialog box? At the moment I've it set up a new custom dialog box opening when I complete the first. Is there any way of having downdown menus or radio buttons in a custom dialog box? Or should I just create a "data input" layout with the above requirements? Thanks in advance, Skip
-
- 2 replies
- 734 views
-
-
Is there a way or maybe a Filemaker addon that allows me to copy then paste addresses from say a website straight into a database field. I have to copy 5000 addresses from one progam into my database. Hope someone can help.
-
- 1 reply
- 570 views
-
-
Hi, I have a script that exports records to a csv file. after it has exported it displays an OK dialog. The problem is that sometimes the previously exported file might be open already, thus resulting in the "file could not be created on this disk". It then proceeds to the OK dialog. How can I exit the script once this error comes up, instead of it coming up with the OK dialog? or make it display a "process failed, please rerun" dialog? thanks
-
- 8 replies
- 1.1k views
-
-
Hello. I have a textfield "Test" and a textfield "TestFill" In "Test" I can write whatever and "TestFill" it will "mirror" "Test". What I want is to make "TestFill" automatticly be 15 characters, even if "Test" is 8 or 15 characters. Example: If I in "Test" have written "Testing" "TestFill" will show " Testing" (also adding 8 blank characters) Is this possible? Thanx Chris
-
- 6 replies
- 849 views
-
-
Hello ALL: I have a fm7 called [color:blue]IT asset inventory.fm7 There is layer called Inventory transfered report. On the layer, I like to have a Query to input as From Date1: [ ] to Date2: [ ] The period of date will check and match the field called Check out Date from the two fm7 files called [color:blue]PC.fm7 and [color:blue]Peripheral.fm7. (Note: The Check out Date is meaning that either PC or Peripheral was checked by employee) Question: Is it possible to display the result within Protal on the same layer: Inventory transfered report?
-
- 1 reply
- 626 views
-
-
Hi There In my script I have set a variable '$var_department' with the value of a field in my layout 'department'. this field is a drop down. For some reason the variable is not taking the value of that dropdown, is this a bug? If the department field is a normal text box it takes the value fine, any ideas? Regards Ben
-
- 3 replies
- 606 views
-
-
Is there any way to program a search so that it only searches the first letter of each record. For example at the moment when I search for companies beginning with 'I' in my database I get 'Aggregate Industries' because of the 'I' in the second word. Is there anyway to stop this? Thanks.
-
- 5 replies
- 656 views
-
-
I need to copy some information from one database to another. I only need a few global fields pulled but i would like it to do it automatically after text has been entered. For example, if a record has been created, I would like a few of the fields to be automatically pulled from that new record and thrown into another database all in the same process. Thank you in advance
-
- 1 reply
- 570 views
-
-
I have been given an almost finished database and asked to make so dramatic changes to it so this is long and complicated so please bere with me, ok there are 4 tables details, courses, accom and invoices. So the students details go in on the details screen name etc, when they book a course a new record is created in the courses table and accom functions in the same way. at the end of the details layout there tab with portals to show the info from the accom and courses table. Currently each record in accom and courses had a field called invoices which is linked to the invoices table. So when someone wants to print an invoice they create a new record in the…
-
- 1 reply
- 615 views
-
-
So I'm working at a client with a large contact database normally sorted by "zipcode". We want to print out a few hundred records at random (so i figured I could just sort it by "name" and then print out however many we need) but then we want to organize it by "zipcode" again and see which ones have already been printed. Is there a way to do this? Is there a better way to print a randomized list and then mark the records printed? I'd also like to know if there is any way to not show/sort items without a zipcode. Any help is greatly appriciated. ~Adam
-
- 1 reply
- 933 views
-
-
I want to copy specified fields between tables in a single FMP 8.5 file, to consolidate data into a unified report. I don't want to use an external file (messy), and I need the process to work for remote as well as local users. I can kludge together a solution using a local variable and the Import from File statement, or Applescript (very slow), but is there a more reliable, high performance way (perhaps a plug-in) to move data between tables of the same file? Now that a single FMP file can contain multiple tables, shouldn't Filemaker have this basic move-data capability built-in? Thanks, Larry Goldman
-
- 2 replies
- 715 views
-
-
I have a layout called invoice which I obviously use to invoice people hoever some people have an agent and some people don't so is it possible to hide a field and text label i.e. if agent = null don't show the field on the layout?
-
- 4 replies
- 1.3k views
-
-
Hi all, I have a Memo file that I need to extract, this file is from our old database clipper. I'm trying to migrate our old system to filemaker, but i am having a hard time extracting text from the memo files. heres the file note:Newbie CREW.DBT.zip
-
- 3 replies
- 1.6k views
-
-
Hi all, Newbie here again. I created 2 files(.fp7), first file contains records while the second file has empty records. Second file will be used as a portal Both Files are related, (file1::pin) have records and i want to copy each record to (file2::pin) whenever i add new records to (file2). Can I use setfield[] and whats the syntax for this? Thanks in advance.
-
- 13 replies
- 1.1k views
-
-
Ok... I got a weird calculation problem. I'm not sure if this is the right place to post, so sorry if it bothers someone. In addition, it is very tricky to explain... I have a table where many "slots" are predefined, which are identified with a four digit number as primary key. Some are meant to be associated to values manually entered, which are stored in a related table. Some of the slots require a value to be associated and for the others, it's either optionnal or "forbidden". Each "Slot" has a field that mentions it by value list within a field of the "slots" table itself. The slots that are "forbidden" are also meant to be associated with values the same wa…
-
- 12 replies
- 1.4k views
-
-
Hi everyone, this is my first post to this forum. I look forward to joining in . I have a problem in a script. I am using FMPRo 8 on in Windows XP Pro. What I am trying to do is find a record based on a barcode scan of an order number. Once found I want to change the content of 3 fields in that record. The basic script structure is: Show all records Go to field (desired field) Enter find mode [pause] Insert current date [specified field] Insert calculated result [specified field] Insert calculated result [specified field] The problem I have is when I run the script the data base enters find mode but the content insertion proceeds so I end up…
-
- 1 reply
- 565 views
-
-
Hi there. I'm super new to Filemaker. Trying to learn on my own...where have you heard that before? lol I have two sets of check box info. Ideally I'd like both fields filled out, however if 2 certain options in the first set are checked, the second check box field does not need to be filled out. I'd like to put a validation and message to tell people they must fill out the second check box set but I don't want that message to come up if they've checked the 2 options that don't need to be checked in the second check box set. (first field is a contact type, the second is more detailed contact specialty). Whew! I hope that made sense. Is there a way to…
-
- 3 replies
- 781 views
-
-
I would like to use a script on file open that uses the account to determine the starting layout. I want guests to get one layout, users to get another and admins to get a third. I tried get(accountname), but it returned the account name for my machine rather than the account name used to log in.
-
- 5 replies
- 890 views
-
-
Hi everyone, 'FM-block' is... I have a set of [four?] databases that I'm trying to sync. The first 'Asset Inventory', is a source for 'product Units' this is a finite quantity of 250 types different types 'unit' that will be used on a project by project basis over a year - not all of these types of 'units' will used. But several projects could overlap. so I need to check 'stock' on all 250 units on possibly a daily basis. The next Db would be a 'Project shopping list' where units could be 'picked' by ID# and quantity. It also has project start and finish dates and amount of days the project runs for. I then see two other Db's being needed to link these…
-
- 0 replies
- 794 views
-
-
Hi all, Very Newbie question? How do I copy field1 to field2, but in field2 only a certain characters will be copied. Ex. Field1 (10000_NOC) I only need to copy (10000) not including (_NOC) to field2 I tried using replace record, but don't know how to do a calculation or a script for it. Thanks in advance.
-
- 14 replies
- 1.4k views
-
-
My goal of this script is to import records, then run a loop that checks the existing records to see if the "Serial No." matches a duplicate record. If there is a duplicate I would like a custom dialog to come up saying "Please check File for duplicates" and exit the script. If there aren't duplicates I'd just like the script allow an import. I am a bit new to the ScriptMaker processes, and I tried using a loop with an if else but didn't have any success. Any help would be greatly appreciated.
-
- 7 replies
- 1.1k views
-
-
a corrupted script in filemaker 8. It's impossible to delete, to edit or to copy or to check the menu-option field. "the script is not existing" means the scriptmaker. All other scripts are o.k. - only this one, I can't handle with. Maybe that this one doesn't exist now, but the title name of the script is further in the script list - and I can't delete it, only this one in the list! I'm a novice in this program. Where are the masters of filemaker - has anyone an explanation of it?
-
- 0 replies
- 792 views
-
-
This script step return the 'entire' active field contents, what if I only want the currently 'high-lighted' text ? I don't want to copy and paste . . .
-
- 2 replies
- 1.1k views
-
-
I started out with FMP8 Adv a few months ago and have very little programming background. I'm just learning as I go so forgive me if this is a stupid question. I've spent many hundreds of hours on a solution and decided to give it a try in a multi-user environment. I found that When user A has a file open and looking at it with a certain find, and user B opens the file and does a different find, it changes user A's view. Does Server fix this? I was under the impression that filemaker worked just fine in a peer to peer environment. Thanks, Mel
-
- 9 replies
- 1.2k views
-
-
Hi, I'm hoping someone can help. I'm building an image library and I need to be able to check (ie set a field to true or false) if an image exists on a remote server over the internet. eg http://www.site.com/folder/subfolder/image.gif The best solution I've come up with so far is call a shell script that will download the image locally, check if it exists in a specific local location and return yes or no, then delete the local copy. Is there potentially a one step, cleaner solution? This is eventually going to be part of a loop trawling through thousands of images, so the cleaner/faster, the better. I'm using 8.5 Pro on OS X 10.4.7.
-
- 2 replies
- 785 views
-
-
I want to be able to process a field containing a carriage-return-separated list of keywords, keeping only the ones that match a value list, but also storing the ones that didn't match into another field. Is there a simple way to get the list of items that don't "pass" the FilterValues() function? Thanks, Chap
-
- 0 replies
- 675 views
-
-
FM8 If I'm in find mode I can do a find request in a timestamp field by entering, for example, >01/01/2006 08:00 AM and it will find the appropriate records. I want to do the same thing in a script where I have set a script variable = to a timestamp value. I enter find mode set field (timestampfield; ">$$scriptvariable") perform find It doesn't find the appropriate records and if I leave out the perform find, I can see the timestampfield is not filled in. I assume that is because ">$$scriptvariable" resolves to text and not timestamp. If that's the case, how can I enter this constraint in that field via the script. Everything I try s…
-
- 1 reply
- 664 views
-
-
I have done a search on this topic, but can't seem to find the script. When a user selects "home" from the drop down menu, I want them to automatically be taken to the "home" layout. If they select "View all records" I want them to automatically be taken to the view all records layout. How can I do that?
-
- 1 reply
- 729 views
-
-
I have two layouts one called information and one called invoice, I am writing a script but I want it to go to the fields account number and invoice number on the information layout copy the contents to the invoice and account number fields on the invoice layout, i know how to do it with one field but is it possible to do it with two fields?
-
- 2 replies
- 706 views
-
-
When a developer is accessing the schema of a served file, thus locking the schema to all other users, the New Record step will not work, it stays in the current record and returns error 303. I understand that editing schema on a served file that is currently in use is bad practice and should never be done, I don't make a habit of this. However, FileMaker deems any access to field options to be editing the schema, regardless of whether you click Cancel on the options dialog. So viewing a calculation or checking the validation on a field would mean all user attempts to create a new record would fail until you hit OK or Cancel on the Define Database dialog. Of c…
-
- 0 replies
- 1.5k views
-
-
Going nuts, need another pair of eyes. I have an unstored calculation field u_Foo, defined as follows (this is in debug form, don't worry about intentions) -- Has 5 repetitions. -- Let ( [k = Get ( CalculationRepetitionNumber ) ] ; Case( k = g_SortColumn ; k ; -1 * k ) ) g_SortColumn is a global number from 1 to 5. When g_SortColumn = 1, u_Foo[1] = 1 u_Foo[2] = -2 u_Foo[3] = -3 u_Foo[4] = -4 u_Foo[5] = -5 as hoped. But when g_SortColumn = 2, u_Foo[1] = -1 u_Foo[2] = -2 <-- expected 2 u_Foo[3] = -3 u_Foo[4] = -4 u_Foo[5] = -5 Same for g_SortColumn = 3..5 It's like the test (k = g_SortColumn) succeeds when…
-
- 2 replies
- 847 views
-
-
I'm interested in the "genie" effect. Making new windows fold out when opening and collapse into themselves when closing. My navigation scripts are getting more and more involved so as the nature of database building. So I am looking for the cleanest, simplest way of achieving this effect. Thank you all!
-
- 10 replies
- 1.9k views
-
-
Is there a way to have a script run after a field is changed and curser moved out of that field? I want to prevent the user from having to hit a "go" button after making a change to a field to initialize a script. Anyone have any ideas? I'm not new to Filemaker and I don't see that that capability exists at all, but I may be wrong so I have to ask. It seems that a script run upon field change ability would solve so many things.
-
- 3 replies
- 760 views
-
-
I am writing a script to query a layout and i have to fields one called from and one called to tehy both conatins dates. In the find it supposed to return all the values who of customers who will be arriving (date in arrival field) between those two dates. I tried using a range but it won't let me use a field.
-
- 7 replies
- 750 views
-
-
I am encountering a serious problem and I cannot find which error message to use: I have scripted record creation for some of my tables by overriding the menus. However, if I am defining fields in that table and a user runs the script that creates a record in that table, it gives them a error message....does not create the record but continues on as usual with the script. What error function do I use to trap for this so I can immediately stop the script from continuing? Thanks much, Marcelle
-
- 2 replies
- 643 views
-
-
when a user enters a date of birth into my date of birth field i have a calculation field called age which displays their age which is set up to be green if 18 or older, orange if 17 or red if under 17. is it possible to set it up so if the age is 17 aswell as colour change a message is displayed to the user and if under 17 it is not allowed.
-
- 3 replies
- 645 views
-
-
In Dev 6, is it possible to script an export (on a PC) which would go to either the user's desktop or their documents folder without any other user interaction? I'm not that familiar with PC file hierarchy, paths, etc. and don't know the variables and possible scenarios I might encounter from user to user. I think FM8 has a new function Get(Desktop Path) but since this is a FM6 runtime, that doesn't help me at all. Thank you!
-
- 3 replies
- 672 views
-
-
Hello, If I did a search, which I will need to refer back to repeatedly, is there a way to write a script to save the search? Alisun
-
- 2 replies
- 561 views
-
-
Search/Find between 2 dates. I have a field 'created' [Date], where the date is automatically entered when the record is created. I have made 2 more fields 'gStartdate' and 'gEnddate' [both Date]. But my script below, does not produce the expected result (all records between the two dates entered) Allow User Abort [Off] Set Error Capture [On] Show Custom Dialog ["Search between two Dates"; "Use the Format dd/mm/yyyy i.e. 25/09/2006"; Link::gStartDate; Link::gEndDate] Enter Find Mode [] Set Field [Link::Created; Link::gStartDate & "..." & Link::gEndDate] Perform Find/Replace [No dialog; Find Next] Thanks in advance John (very muc…
-
- 5 replies
- 698 views
-
-
It might just be me, but is there anyway to suppress a "file reference not found" dialog (usually presents itself when a file reference can't be located on start up i.e. over network link). I would like to catch for this error so that i can output to a log file - the log file isnt the hard bit, it's just i can't work out where to catch the error (set error capture[on]) doesnt seem to work in this case and seeing as what i am trying to do is a critical unattended task on a "robot" machine, i can't have the dialog holding up the rest of my process. Cheers, ~Genx
-
- 3 replies
- 579 views
-
-
Hi, I currently use the "Open URL" script step to open web addresses such as a supplier's web page. Is there any way to get the URL to open in a new web browser as I would prefer this method? Thanks Pedro -)
-
- 2 replies
- 534 views
-
-
I want to set up a list of each person who modifies a record and the timestamp that they modified the record. I currently have a field that show the account name and one that shows the timestamp of the modification the last time it was modified but I want a historical display. If I can also have the script record what was modified that would be great. Can I get some direction on how to set this up? Thanks, Scott
-
- 1 reply
- 752 views
-
-
Hey all you FileMaker...ers Is there a more efficient way to loop through found records than the following: Go to Layout [Layout1(Layout1)] Set Variable [$ItemNum;Value:Layout1::Item Number] Go to Layout [Layout2(Layout2)] Enter Find Mode [] Set Field [Layout2::Item Number;$ItemNum] Go To Record [Last] Set Variable [$LastLot = Layout2::Lot Number] Loop . . . Exit Loop If [$LastLot; Value:Layout2::Lot Number] End Loop Either that or is there a way for the script to find out how many records were found? Thanks a lot, M
-
- 2 replies
- 1.1k views
-
-
Does anyone know how to trigger an AppleScript on a networked computer that is not running FileMaker? I have a PrintServer that FileMaker prints files to as a remote USB printer. I need to trigger a sound on the PrintServer whenever FileMaker sends a job to one specific printer (we have three printers on the PrintServer). I assume that I will need an AppleScript that is triggered on the PrintServer whenever it prints to the target printer.
-
- 0 replies
- 610 views
-
-
Need a little more help. Was wondering if anyone out there knows how to assign a serial number to multiple records using a script? Ideally, I's like to search for records with identical criterial and click a button and give those records the same serial number. Any thoughts please?
-
- 6 replies
- 936 views
-
-
I am using FP7 and I am new to writing scripts, please bear with me as I try to verbalize my question. I would like to create in one table, Table A, a button next to each record that would run a script to paste that record's data, from one field, into a field in another separate table, Table B. I have set up a relationship to match the two tables and fields, and I have tried creating a simple copy and paste script in Table A, but it isn't working. What part am I missing?
-
- 5 replies
- 929 views
-
-
hi. i do not know if this is the right place to post this. anyway, i hope someone helps. i have a database with two tables. table 1 = rooms table 2 = reservations table one contains room numbers and details about the room. tabel two contains names of guests and in date and out date. the two tables are related. what i am trying to achieve is that when i input a date on table two it checks if the room is available on that date timeframe or not, and promts me. any example how to do this? thanks.
-
- 3 replies
- 705 views
-
-
Hi All, I've got a situation where i need to isolate all records with the same value in a particular field. I.e. locate all duplicates and act on each set of duplicates individually. e.g. Rec 1: 0421223223 Rec 2: 0421223223 Rec 3: 0412311311 Rec 4: 0412311311 Rec 5: 0412311311 Rec 6: 0422102123 Duplicate values are in Rec 1 & 2 and then 3 & 4 & 5. I need to be able to isolate records 1 & 2 first for example, act on those (i.e. delete 1) then isolate the next set of duplicates (3 & 4 & 5) and remove 2 of those so only one remains. Anyone have any bright ideas? Any input appreciated. Cheers, ~Genx
-
- 2 replies
- 864 views
-
-
It's clear on how to define a search for today. But how does one find data for "tomorrow". I don't see anyway to add 1 to today (//+1 doesn't work) I'm trying to list programs that are scheduled for tomorrow. Thanks, -Marc
-
- 1 reply
- 632 views
-
-
FM8A, FM8.5A When I try to drag and rearrange my scripts I am getting a screen redraw error. The script that moves is not the one that I am attempting to rearrange. I also see a duplicate name as I am dragging the script. I am experiencing the same problem on two different computers. Here is a short movie that shows exactly what is happening: http://starspan.net/halburn/FMP_ScriptEdit_bug.mov
-
- 7 replies
- 800 views
-
-
How can I position a newly opened secondary window in relation to parent window? Thank you all for viewing this question. I am putting the final touches on my life time spent DB. Want the windows to work like a professional application. I wish the new window to open centered horizontally w/ parent window and just below top of parent window. Also, I'm interested in the "genie" effect. Making windows collapse into themselves until closed. Any suggestions, tips, or direction would be greatly appreciated. Thanks again!!!
-
- 7 replies
- 974 views
-
-
hi ive got 2 quite large tables; one with some 65 000 records, the other with nearly 5 000. now i need to check the 65 000 one to see if any of those records already exists in the 5 000 pile. im using a $id = $id2 type of script with 2 diffrent loops, one looping first through the small script, and then exiting back to the other loop, which lopps throught the big one. both commiting after the last record. this takes forever, anybody know how to speed this up?
-
- 10 replies
- 726 views
-
-
hi, i'm not sure if this is possible or not, but what I'm trying to do is update the display of a specific field whilst a script is running. basically, i have a script that consolidates a lot of records. on the layout that the script is run from is a merge field that will display "consolidating record 1 of xxx". The contents of the field are updated by the script as it progresses, and there are a liberal number of "commit record" script steps, but the best i get is that that the field clears (as happens at the start of the script) processes (the busy/esc cursor) and then says "complete" (the final step), but nothing in-between... Anyone?
-
- 4 replies
- 877 views
-
-
I have been working on this problem for weeks. I desperately need help. I have tried Scriptit, Troi Activator and Dacons ScriptFire. The first 2 were difficult at best. Scriptit lacks documentation, Activator was causing my application to crash so I finally tried Dacons ScriptFire. I must say their sample files and documentation are superior to the other two. Here's the problem. (Please see attached pdf for details and scripts.) I can get the script to fire when I leave the trigger field, no problem. I can get multiple reminders set as I enter the data and leave the portal record, no problem. However, when the reminder pops up I can not go to the cor…
-
- 1 reply
- 564 views
-
-
I'll start off by saying I'm new to the Filemaker universe, but so far it's been treating me well. I have a feeling that I'll get a slap on the wrist for asking this question, but I can't seem to find the answer via the search feature or perusal of the manual so here it goes: I would like to run a script whenever a radio button choice is selected initially or changed. For example let's say I have a field named "First Field" whose contents are a radio button set with values '1', '2', or '3'. If value 1 is selected I would like it to perform a script entitled "Data has been selected". Additionally if the user goes back and changes from value '1' to '2' I would like it …
-
- 46 replies
- 6.5k views
-
-
Hi, A rare but potentially dangerous problem with the Go To Layout script step, just wondering if anyone else has come across this. The Go To Layout script step has been known on occasion to go to the first layout in the file. The layout is explicitly selected in the step so its not some calc problem. The step works fine in testing and on a day-to-day basis. The first layout in the file has ID 401 (which is not the lowest ID in the file) so it's deciding on first layout by layout order (rather than by ID). This is happening in a windows environment (ignore the platform on my profile), on files served on FMS7 on Windows server, and happens to users us…
-
- 16 replies
- 1.8k views
-
-
I have only just noticed that a custom dialogue box can be dragged to a size other than what I thought was 'standard' This has now thrown me a bit cos I want to use the increased space that is available to me but I am confused because I do not know what will happen to my other dialogue boxes. Will they adopt the new size that I have pulled out in the last message. I have done a test and another new one does but an old one doesn't seem to. Can anyone fill me in as to what is the norm re size of custom dialogue boxes? Phil
-
- 2 replies
- 867 views
-
-
Hi, all: I need to add a script to a check box so I made the check box a button and let it run a script. The problem is the checkbox function doesn't work anymore after I change it to a button. How can I make a check and run a script at the same time by one click? Thanks in advance.
-
- 1 reply
- 800 views
-
-
I have an instance where an imported text file needs to be parsed into separate blocks of text based on a user-designated delimiter character. For example, the user might specify "#" for the following text file: [color:orange]First section of text. # Second section of text. # Third section of text. Sections can contain entire paragraphs; even multiple paragraphs. # Final section of text. This would need to result in the following four separate records in FMP: [color:orange]First section of text. Second section of text. Third section of text. Sections can contain entire paragraphs; even multiple paragraphs. Final section of text. I can use the …
-
- 6 replies
- 868 views
-
-
I'm an extremely new user to FileMaker. How do I Hide/Show a field based upon the value of another field? Can this be done? Thanks!
-
- 2 replies
- 734 views
-
-
i might be simple asking this but im kinda new to filemaker. i am setting up a DB all going ok ish but for some reason this part is not working ok i hear you saying get on with it. 2 tables in questions one is a address other is a contact it has a relationship address table contact table address has a auto field 'ID' index key contact table is linked via field called custID it is a 1-many however when i try to create a contact & relate it to an address the ID doesnt populate the custinfoID field? currently script, i have it check if there is already a contact exsisting IF custinfoID is null then create a new contact…
-
- 2 replies
- 671 views
-
-
I obviously know how to renumber a field in a particular database using Replace Field Contents. However, I need to "renumber" a related field called CompanyID in the Companies database, but have it change its related CompanyID in the Employees database to be equal, so relationship is not lost. In fact, there are several databases where related CompanyID resides, and I need all related databases w/ CompanyID to update as well. How do I do this? Any and all assistance would be greatly appreciated. I wan't sure where to post this so forgive me if it wasnt best to post it here.
-
- 7 replies
- 822 views
-
-
This is what I am trying to achieve... Any user on the network can run a script that will do the following: 1. Print a layout to PDF 2. Create & send an email (get email address from a field and attach the PDF created in step 1 above) 3. Store the PDF in a container field All this to happen with the click of a single button Thanks!
-
- 2 replies
- 672 views
-
-
I have a field that shows how many labels to print. How do I print the number of labels from that field? ie: numberoflabels field = 12 and it prints 12 labels...
-
- 1 reply
- 603 views
-
-
I have a simple script to insert pictures into a container field. Is there a way to extract the picture file name for pasting into a text field.
-
- 11 replies
- 1.5k views
-
-
Hi there, Thanks for all the great advice on these forums. They are invaluable. A kind soul once gave me a great script, back on the old FMMagazine forums, for assigning IP addresses based on very simple criteria. Now I find myself needing it again, but those forums are gone, I have no copy of the text, and no access to the DB where I originally used it. I'm hoping one of you can help me through the problem once more (I promise I won't lose it this time!). Basically, I'd like the address serial to move up through both the third and fourth octets, and then loop back around at a certain point to fill in addresses no longer being used. More specifically, I'd …
-
- 6 replies
- 1.3k views
-
-
I have voter registration database and would like to know how I can script an export of all field contents into 750 different excel files. Specifically, I want it to export all voters in Precinct 1100 to a file name 1100_Voters...then do next precinct 1101_Voters..and so on. Any suggestions? Thx..Jess
-
- 1 reply
- 683 views
-
-
-
Ok, I know it's simple, but I'm stuck anyway... I need help! I need a script that will go to a related record (from a portal), using a layout that actually exists, showing only related results and then check if there is any foundcount... if not, it should create one and come back to original layout, if there are any, do nothing and come back to original layout. The problem is that on the "Go to related record" line, if there is no related record, I'm still on the original layout, and the foundcount returns the foundcount of the original layout, not the related one... What should I do? Is there another way to know if there are related records? Is there…
-
- 2 replies
- 603 views
-
-
Hi everyone, How do I print my report with subtotal for everypage and the grand total on the last page. I have 46 records, but I can print only 12 records in a page and I want a sub total of the 12 records for earch page. I'm using ver. 8 Thanks in advance!
-
- 0 replies
- 571 views
-
-
Is it possible to use the Open URL script step to automatically login to FMForums? If so, what is the URL syntax? Although I've just started exploring this aspect of FileMaker, I've had good success in opening websites using URL's defined in fields. It seems that a calculated URL could be constructed along the lines of: "http://www.fmforums.com/logon?userID=" & Table::UserID & "?Password=" & Table::Password Maybe this is common knowledge, but I wasn't able to turn up any relevant posts with several searches. Thanks for any assistance.
-
- 2 replies
- 556 views
-
-
hi i was just thinking. i have created a script that sends emails to all my contacts with the lastest news on my front. it does so by looping through all my contacts, send a new mail for every new contact. now, if the power goes out in the middle of me running this scrip, what would happend when i restart filemaker? would i have to rerun the entire script or would it continue wherever it got aborted? i wouldnt like to send the same mail twice, or rather i dont want my contacts recieving the same mail twice... thanks
-
- 6 replies
- 610 views
-
-
Hi, I'm using the error capture script step. In my script I'm exporting. I know this will fail if another user is exporting at the same moment. The Error is 800. However even though error capture is ON I still get the system error message from File Maker. The message is not being "captured" by the error capture. In the help for error capture it states: ON: suppresses FileMaker Pro alert messages and some dialog boxes. So is this a case where the dialog box for error 800 is not suppressed? Is there a place that showes which error messages are suppressed? Is there a way to not display this error message? Thank you very much for any help on this
-
- 2 replies
- 573 views
-
-
Is it possible to write a script that will once a day point to a folder on my hard and import an excel file that was deposited there from and outside application? Can scripts be run on some sort of "event timer?" Thanks for any help, Steve
-
- 1 reply
- 535 views
-
-
I'm writing a script which contains the step Perform Find[]. I want to perform the find on a field called Year, which contains, obviously, year values. How can I get the current year value into this Perform Find? I could do it if I had access to a Calculation field with Year(Get(CurrentDate)), but it appears I don't.
-
- 4 replies
- 567 views
-
-
hi, ive got a database with a contacts table, and a notes table, which im putting together using emails. the idea is that when ever i get an email i download the mail to the database (by first exporting it as an excel file and then importing the info i want), keeping track of all my contact and all my notes. now, the thing is, whenever i get an email from a person already in my database dont want to rewrite his/her info, nor duplicate it, i just want to stick in the new note. now i know how to find the person in my contacts table (matching email-adresses) but if im going to do this for every person in the contacts table, every single time im putting a new note,…
-
- 3 replies
- 609 views
-
-
hi again still on my mailproblems im afraid... ive got a list of contacts that all need a follow-up mail sent to them. the thing is that i dont want to send to follow-up to close to the first mail, i need to wait a week before i send it. so the way i was thinking was like this: when ever i send the first mail i take tha date and email adress and stick it into a table (time_check). when i then go to send the follow-up it first checks the time code, and checks with the current date to se it a week has passed, before sending the mail. when th efollowup has been sent the old record is erased and a new one is put in its place. the thing is that i cant the time_check…
-
- 2 replies
- 676 views
-
-
I have a field called accom and it has 2 options in a drop-down menu hotel or b & b is it possible to have a new record created in a table called b & b when b & b is selected and in the hotel table when hotel is selcted?
-
- 2 replies
- 570 views
-
-
I need to execute a script every day at a specified time. (The script exports data to a csv file.) As far as I can tell, I can't do this without a plug-in. What is the best way for me to schedule a script? I am somewhat confused about what I've read so far. Has anyone done a simple daily script execution before? Is there anything similar to cron (which can execute UNIX shell scripts)?
-
- 3 replies
- 814 views
-
-
Hi, Is there a way in FM8 to open an external file like a word document? In searching I found the was possible in the past, but I can't find how to do this in FileMaker 8. Is it possible without using a plugin? Thanks
-
- 2 replies
- 628 views
-
-
I'm having a problem with a script in a new database. The immediate issue involves 2 tables, "jobs" and "pages". These two tables are related by a "job_number" field in each. The script begins by creating a new record in the "jobs" table, and prompting the user to fill in certain fields. The user has two options at this point, to continue or cancel. Continue continues to the next step of the script, while cancel reverts the record. The next step of the script takes the value from the "Total Pages" field in the newly created record in "Jobs" and creates new records in "P ages". The number of records created equals the value of "Total Pages" in "Jobs". As the scri…
-
- 19 replies
- 2.3k views
-
-
having some trouble with a loop i created... im running the loop to find a sertain varible. if it finds the varible i want it to break on the record the varible is in, and if it doesnt find the variable i simply want it to create a new record with the new variable in it... as of right now i get it to find the variable, and break, but i cant get it to create new a record! help please...
-
- 11 replies
- 826 views
-
-
I hope this isn't a terribly stupid question and that I have missed something very basic, but....Is there a way to print the contents of a script window. i.e. all of the scripting steps? I have been using a "Print Screen" work around....clumsy but works...Is there a better way? thanks in advance for any help. If it is not possible, am I the only person who sees value in being able to do this? It surprises me that you can't...if that is in fact the case. thanks, Steve
-
- 2 replies
- 551 views
-
-
In a runtime solution, and without any user interaction (except triggering the script), I would like to be able to script a tab-delimited text export with the name of the file dynamically assigned through a concatenation of a couple of fields. This may not be possible within FM Dev 6, but maybe someone knows of a plug-in that which could provide this functionality. Thanks for any input!
-
- 6 replies
- 713 views
-
-
hi mostly a general q: is there anyway to restrict users from using diffrent buttons and scripts unless they first execute a diffrent scrip? the idea is that i want to create a maillist with a followup function. everytime i send a new mail to a contact i stick the contact_id, together with topic and date, into a table to keep track of the sent mails. if i want to make a followup on that mail i simply press the followup-button. now to the real q; how do i restrict a user frm pressing the followup-button without first pressing the regular mail button? i figured i´d use the table as a sorting function. put new entries in a mail_1 coloumn and as soon as the fi…
-
- 2 replies
- 635 views
-
-
I need to be able to perferm an action based on the value that is enterd into a field. I'm designing a telesales application for use in our company and need to be able to update a record if a field = answerphone. In Access I had events like 'after update' etc. Any ideas?
-
- 2 replies
- 700 views
-
-
I have a button called "New" which creates a new record/request. However, I'd please like to know if we can promt/notify users that a new record will be created once the "New" button is pressed...The notification/promt will be "Do you want to create a new record with two buttons. The two buttons " Ok Create New Record" and Cancel" By doing this we can stop users creating new records if the user presses the "New" button by mistake etc. Thank you in advance.
-
- 6 replies
- 1.2k views
-
-
When I click the button to run my new window script it opens a new window but then resizes my main window? Can anyone tell me why this is happening? Thank you for your help.
-
- 7 replies
- 1.5k views
-
-
I have a contact/mailing list table with records. I am building in it the capabilities to compare it with a unsubscribed table (users who wish to be removed from the mailing list) and if a match delete any existing records. Attached is a draft script that I would like to use but I would like to run it by those who have used Filemaker pro for awhile. You may have to disregard the commands since I wrote this using a standard word processor. I am only concerned at this point, with the logic. I would like to thank all in advance for any support you can give. I would like those who are viewing it to pay close attention to the find command that looks for matches a…
-
- 6 replies
- 1.4k views
-
-
Can onyone tell me how to go the the end of my note field, add the current date, time and carriage return so it is ready for user input. Thanks
-
- 2 replies
- 660 views
-
-
This one should be simple...I hope, I just can't get it to work. I have a global field with four repetitions. I am creating a script with a Set Variable of $$AddCompare where it's value is the field with the 4 repetitions. In the "Set Variable" box I have set the value of the variable to be MultiItems:Item Number. I set the repetition to be a get(ScriptParameter). I have various buttons that use the same script with the Set Variable, and each of this buttons sets the Script Parameter between 1 and 4. But when I click on a button with Script Parameter 2, the value of the repetion it gets is from the repetition 1 field. Does anyone know what I am doing wrong? …
-
- 2 replies
- 2.9k views
-
-
I'm using IWP an would like the database on our system to refresh a displayed list every minute or so, so that we can see the live data bulid up as it is entered remotely. How do I do this as I can only seem to do it manually.
-
- 0 replies
- 623 views
-
-
Hi Gang, Without boring you with too much detail, is there a way to automatically run a script on all connected clients of a database. For example, I have a peer to peer networked file. If I set a field on a table with 1 record to a specific value, I would like (with the help of the free EventScript plugin) to execute the script on all the connected stations. I want that script to take all users to a given layout. Is this possible? Or is there a way to broadcast a message to all connected users? Thanks, Hernandito
-
- 3 replies
- 627 views
-
-
I am working on trying to integrate two separate files. I am able to GTRR and then a script in the other file, and I do this pretty frequently. While developing my solution I am working in a restricted access folder on my company's network. Both files will eventually be places on a FileMaker server. I was just wondering if anyone had any tips for me. My problem is that the scripts will usually work on my machine, but when I go to another one, they sometimes get hung up or become very slow. All the files are in the same folder, so the file references are not the issue here. So far I have found that I need to close the other file, before I GTRR and open in a new windo…
-
- 0 replies
- 595 views
-
-
Table A contains a list of names. I need to copy some of these records from Table A into a separate Table B every week. If there a way of doing this vey quickly and simply? Thanks Dave
-
- 2 replies
- 813 views
-
Recently Browsing 0
- No registered users viewing this page.
Who's Online (See full list)
- There are no registered users currently online