Jump 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.

Calculation Engine (Define Fields)

Field Types, Field Options, and those wonderful Calculation Functions!

  1. Started by juansa,

    Hi, I

  2. Started by Duanea,

    I am an eye doctor. We use digital images of patient's retinas in their charts. We simply insert the photos into a container field. Then I can print the chart and I can 1)be reminded that I have a photo and 2)have the photo on paper. I would really like to be able to click on the photo and have it go to full screen size so I can see more details and show abnormalities to patients. Can anyone help?

  3. I have an invoice setup that I want to total up the item amounts. I have a checkbox for the line items for if they are taxable or not. I want to total them up seperately. I think I can do this by setting a global value for either of the taxable options (either taxed or not) and setup a second relationship between the tables using both these fields (the unique id and the taxable fields). I was just curious if any one knows of a better way so that I don't need the global fields. Thanks

  4. Started by Consultationbv,

    Hello, My DB is a plant database... I insert a Image at each records to represent the plant... My DB is bigger every day and it will bring me some performance problems in the future... can I put all the images in a repertory on my hard drive and after just map those image in my Filemaker 6 application?? can we do it or maybe a plug ins could help me with my problem?? sorry for my english, i am a french canadian...

  5. Started by torifile,

    I did a search and nothing relevant came up. Please pardon the question if it's been answered.... I've designed a database to track therapist sessions. I've got that much worked out. Every other session needs to get a particular set of questionnaires filled out. The other half of the sessions need to get a different set filled out. Right now, what I'm doing is listing all the questionnaires for each session (basic, "yes no" radio button set). I'd prefer that in the portal row listing each session, the appropriate questionnaires be listed rather than all of them. My table design is like this: Therapist table Therapist ID (primary key) blah blah. …

  6. Started by kipp,

    I have a database with a field called "presenting problem" and a drop down list of 18 possible choices (depression, anxiety, ocd,...). I wanr to report the number of files with each choice in it. Forinstance, of 236 total records, 8 have depression, six have anxiety... Then I want to have a field that tells what percent of the total this represents. Can anyone help? Thanks.

    • 2 replies
    • 542 views
  7. As usual I have a problem. I want to add PDF files to a container field in a sales database. I then want to 'double click' on the file icon (in the container field) and have Acrobat open up automatically and display the PDF. If I insert the file into the container as a 'file reference' there is no problem. BUT... (there's always a but) this is not what I want because I cannot guarantee that I can maintain the integrity of a completely separate file structure holding all the PDFs (there may be thousands) over the years that this database is hopefully used. Rather, I want to import the entire PDF file when I insert it into the container and store it now in …

    • 2 replies
    • 1.8k views
  8. Started by Jarvis,

    I would like to have a database with three fields: Item Unit Cost Total Cost of All Unique Items (by category) The ITEM field is populated from a value list which gets its values from the Item Field. (If we purchase an item that has never been purchased before, we add the new Item to the value list If we purchase an item that is already in the database we just select it from the valuelist.) I would like to be able to keep an eye on how much money we have spent to date on any particular category. I would like the code for this question to keep itself updated as new items are added to the value list. I imagine this starts out as some…

    • 2 replies
    • 586 views
  9. For whatever reason i need to make a calculation field show the first related record, another show the second, another the third upto about 10. I also cannot use a portal simply because the records i wish to show are from various different relationships. I can make it show the first related record easily enough. I just hope that there is a way of doing this.

    • 5 replies
    • 671 views
  10. Hello everybody, I'd like to know if it is possible to insert dates in dd-mm-yyyy format. I already know how to show it like that. That ain't hard, but inserting is a lot harder, while keeping the field definition as date. Any help is appreciated. Greetings, Auditiaan

  11. Started by merkaba22,

    Hey guys -- here's another newbie question -- I almost think its been asked a thousand times before but here goes: I have a series of associated fields: ProductID1; Checkbox1-1, checkbox2-1 ProductID2; Checkbox1-2, checkbox2-2 ProductID3; Checkbox1-3, checkbox2-3. I need: checkbox1-x and checkbox2-x to be deselected if ProductIDx is empty. Checkbox1-x to be selected if ProductIDx is not empty; and Checkbox1-x deselected when Checkbox2-x is selected and ProductID is not empty. Ideally, I would like to be able to use these "status" choices for sorting and/or reports ... Thanks again for all your help!

  12. Started by Chirriras,

    Help! I'm stuck on something. I have a database for interviewers to log the status of on surveys they are conducting. Each interviewer has an ID number and a password. When I go into define password and click "Limited" for browse records, the calculation box opens. What is it wanting? I want each interviewer to see only the interviews assigned to them, not any assigned to other interviewers. What calculation does it want from me? Thanks.

    • 3 replies
    • 1k views
  13. Started by Ninja,

    I need a serial key which only increments based on the uniqueness of another field. Allow me to explain. When the record is created the date is entered into the date field. If this is the first record to be entered with this date, the serial key should be 1, the second 2 and so on. As soon as a new date is entered the serial key should revert to 1. An added complication is that the records are not necessarily entered in order of date. any clever ideas?

  14. Hi guys! I am scratching my head finding the way to create a calculation which create a 2nd serial number of transplants based on the transplant date. Here are the details: A patient can be transplanted several times, my users want to know which number of transplant it is. Data sample here: Pat Name Transplant Date Transplant No. JD 08/01/2000 1 JD 09/13/2000 2 JD 01/01/2001 3 I want to create a calculation field to calculate the "transplant no" . . In addition, I must to say that some records might be marked as "deleted" (The table as a field called "deleted" which marks the record when the user deletes the record). The deleted records should be…

  15. Started by nutthick,

    I'm putting a webserver together of video clips (4Tb worth). To help the user navigate through them a bit easier I want to use FM as the web front end, but I've come up against a problem. I don't want to embed the QT files else the database will be immense and probably really slow, so I've been inserting them as references. Everything is works OK, but the links don't show up on the browser. I know this is sounding like it's in the wrong forum topic, but the correct one doesn't seem to attract much traffic, so I'm having to try other solutions myself. Does anyone know how to set the container up so that when the user clicks on it, they are given the option to down…

    • 0 replies
    • 560 views
  16. Started by marysilvaramos,

    Hi people: I need to parse several fields with long text lines. Each line should have a maximun of 40 chars. Here is a sample: Multiple moles mainly on his back with regular borders, flat, ranging in color from pink, light brown to dark brown. pin rom pink, light brown to dark brown. pink keloid on left scapula, 2cm in diameter keloid on left scapula, 2cm in diameter I created a calculation, but it does not work for all the cases that the text might have in terms of number of chars. Case( Round(Length( GeneralSkinCom.t )/40,0)>=2 and Round(Length( GeneralSkinCom.t )/40,0)<3, Middle(GeneralSkinCom.t,1,40) & "

  17. Started by IEW,

    I have a field called "ModDate" that is a "Date" field and is checked as modification date. Problem is that it updates all the records every day. I cannot find anything that is causing this. Is there a better way to update date when a record is changed? Is this a FM7 problem? TIA Ivan

    • 3 replies
    • 691 views
  18. Started by sbrash03,

    I'm endeavouring to build a sales database where we use containers to store scanned PDF's of client contracts. We are trying to apply the seperation model concept in our database with the records and calculations in different files from the layouts (primarily for security and ease of development for multiple FMP7 developers in the office). All has been fine so far until we tried linking container fields from seprate files on to the layout in questions. The container name on the table is "greyed out" and will not work. All other fields, value lists and calculations work just fine. Do containers not work accross multiple files ? Do they need to be embed…

    • 2 replies
    • 827 views
  19. Started by T-Square,

    I need information about the behavior of global fields and their scope. 1) If more than one window is open on a particular machine, and a script running in one window changes and commits global fields, are those changes reflected in the other windows? What if the script neglects to commit? In other words, is it possible--even momentarily--for global fields to have more than one value? Assume that the tables underlying the layouts are part of the same relationship graph. 2) What is the behavior in the same circumstances above, but over a network with different network clients using globals? Thanks for any guidance. David

    • 3 replies
    • 562 views
  20. Started by monsnow,

    Hello, What is the best way to have access to several pictures per record. Most of my records have one photo, but some may have up to 15 or more. I currently just use one photo container per record. Also if there is a way to click on the picture to enlarge, please offer your solution. Thank you, Michael

    • 2 replies
    • 713 views
  21. Started by apwalton,

    I have about 650 images in my db. The first 648 images worked fine. However, now when I insert an image into my container field, the image appears very small in the container rather than filling it like the first 648 times. I created a new db as a test and had no problem inserting and displaying the same image. PDF file is attached for reference. Any idea how to fix this? Edit: this problem occurs with all images I try to add to the db, it is not specific to just one file. Picture1.pdf

  22. Started by mr_vodka,

    Hello all. My question is if there is a way to change the font size of a field specific to individual records. In other words, Lets say i have field: Company Name. the company name will be printed out in lets say a form. However, company 1 wants the font size to be 14 point, company 2 12 point, and company 3 8 point. Is there a way around this without having to use multiple fields??? TIA. -John

    • 2 replies
    • 571 views
  23. Started by Steve Railsback,

    I'm looking for a way to format text when moving to the next field. I've looked at Typeahead and Clairvoyant. But these appear to apply when lists are needed. I'm looking for something that will add additional text to the entered data. I have emails that all have the same server information. I would like to just type the user name and have FM add the "@yaddayadda.com". I cannot set the field to have a default "@yaddayadda.com" because the db is used for an online directory that displays email. Email information will appear online when there is data in the field. Thanks all!! -steve

    • 3 replies
    • 551 views
  24. Started by Lisa S,

    I am having trouble formatting a phone number field to display the phone number as (000)000-0000, I would also like an error message to display if an incorrect number of digits are entered. Wasn't sure to do it as calculation or number field, etc cannot find options nor sure of the code to format it this way. Any help would be greatly appreciated!! it is currently defined as a number field.

    • 2 replies
    • 1k views
  25. Started by caoburton,

    Hi Someone ages ago told me I could insert a link to a Word file in a field, so linking a particular file to a record, but I can't remember how it was done. Does anyone have a clue? Thanks Charlotte

  26. Started by steve59,

    These last weeks I have looked at parsing text. After countless hours and having studied many splendid tips, the like of Text Parsing Tutorial by Ugo Di Luca (recommended), I must concede defeat on this one! Can any one offer help or a solution that can be applied using FMP 5.5 to the following problem. Problem, I need to come up with a Calculation that will parse data between colon 2 and 3 into a global text field as a list i.e. each string separated by a carriage return. Using a looping script is not an option. gData Prefix 1:one or more words:one or more words: Prefix 1:one or more words:one or more words: Prefix 1:one or more words:one or mo…

  27. Started by J__,

    Hi, suppose I have a field, which I want to validate using a calculation and my user enters for a date 10/42/04 How do I know that is ont a good date ? I'd like to find this out so that i can then use my calculation to display a message. I thought Isvalid might work, does it? I didn't see any mention of it saying it worked for dates. Or do i have to do my own Leap year / 31 day check? If this is the case, has anyone written such a calculation? thanks, sincerely, J__

    • 2 replies
    • 1.5k views
  28. Started by nutthick,

    How would I write a calculation to show the number of related records in another table? Thanks

    • 4 replies
    • 638 views
  29. Started by Anthony Nelson,

    I have tried with both types and am unable to get the results I really want. I have a table that has a quantity field. I want to display a total of the field. I have tried both using a summary field and also creating a self relationship to the table and Sum( relatedField ) but both seem to not update until I click on the field. I would like the field to show the total as soon as any of the other items get changed. Any one have any suggestions or know what I'm doing wrong?

    • 6 replies
    • 676 views
  30. Started by Jerry Ross,

    Hi all, I'm new to programming FM and need some assistance with parsing my image paths. I have a Container field (Colorway Image) with an image placed in it. I also created a calculated field using GetAsText(Colorway Image). This field returns the value: size:504,445 image:Images/103456_comp.tif imagemac:/Radiance/Users/jerryross/Documents/Project Files/TMaG/Footwear Supplement SS05/Images/103456_comp.tif What I need help with is extracting the image name and location. Everything after "imagemac:" The purpose of this is it to export the data in Tab Delimited format and then in turn inport the data into an InDesign template. An input on the…

  31. Started by Veronica,

    I'm perplexed! This seems like it should be so simple. I have a calculation field, (Current Week) that is nothing more than the "WeekOfYearFiscal" function. And yet, the only return I get is a "?". Each week is a record so I expect to get a return of 1 thru 53 for each week of the year as I go along. Monday being the start of the week. The calculation is as follows: Current Week = WeekOfYearFiscal(7/1/2004,2) Why can't I get a darn number returned in the field? What am I not getting about this? Thanks in advance for the help. Veronica

  32. Started by ML2008,

    How can I define a field to show all value list items?

    • 9 replies
    • 1.2k views
  33. Started by voxelman,

    I've built a bug tracking system using FM7. It runs on Windows XP and uses a server to host one copy of FM7 to host 3 programmers, a tester (me) and one other user. This morning one of the programmers asked me to add an attachment field so that he can drop Word .doc files containing images (screen shots) and text into the database. That part is working fine except the time to insert the images is too long. What I want to do is allow the user to double click on the object (or press a button) and have the object open in the appropriate application. Can anyone point me towards an example of how this can be done?

  34. Started by Jarvis,

    I'm building a time clock. I have four fields: START --- STOP --- ELAPSED TIME --- TOTAL TIME START & STOP are scripted buttons which insert the current time into the fields. ELAPSED TIME is the calculation STOP-START TOTAL TIME is a summary field that sums ELAPSED TIME in all records. Everything does what it is supposed to do as long as START & STOP have both been activated. If only START is activated, the resultant ELAPSED TIME shows up as a negative value and skews the TOTAL TIME. Is there another way to get to this calculation STOP minus START that won't end up temporarily in a negative value? Thanks, Jarvis

    • 4 replies
    • 654 views
  35. Started by Jerry,

    I'm building a db for a statewide teacher organization. Most of the maintenance will be done at a central office; however, I'm trying to write a script so that individual teachers can log in & access only their record so they can update address changes, etc. Since we already have their SSN's on file, I'm trying to let them use the last 4 digits as a login, using the Right function script step. Here's two approaches I've tried & the problems I've encountered: 1. Using a generic account name (i.e. "teacher") which takes them to a login page where they enter their 4 digit ID. My problems here are (a) if I use a "Go to Record/Request/Page", how to limit the …

    • 3 replies
    • 768 views
  36. Started by Yogesh Agte,

    Hi All, I want to display a specific word in a field in a different color. Can it be done? What is the way for it? I request to help me with this. Thanks. Yogesh Agte

  37. Started by snekkis,

    Enclosed is a file which I made because I have to batch eight hours of video footage. I am making a small program to generate a batch list I import into Final Cut Pro for easier batch capture. So far I'm finished except that the final text export file I'm going to use, I have to edit two places. As you see in the enclosed text files, Batchlist1.txt misses the heading which the edited batchlist2.txt has, which are Media Start and Media End. It is the Calculation field that is generated this way in the tab separated file format. I need to replace the the two SMTP values of zeros with what you see in the batchlist2.txt. It won't take me long to alter this later wh…

    • 2 replies
    • 734 views
  38. Started by Chalkster,

    I have a database that lists airline routings for query by an internet booking engine. These take the form of various tokens of info listed in a string. I have created a database with tables for calculating each part of the routing string. Because a single routing can hold up to 40 possible segments and it takes approx 30 including calculated fields fields to hold the data for each segment the solution I used was to list segments in one table grouped by ID (thus giving me a table of 30 fields instead of 1200). The tokens are combined in one single field in a related table for output to the booking engine and it is the combining of groups of these segment…

  39. Started by SlimJim,

    I am playing with the Document Tracker sample database from FM7. Each record has a container field with a link to a document. If I decide I no longer require a document I would like to be able to delete the target document from my hard disk as well as deleting the record from the Filemaker database. Is it possible to do this using a script? I can produce the Windows filename (including path) as a field fairly easily and I have tried using the DOS command Del in various ways with no success.

    • 4 replies
    • 738 views
  40. Started by GrantSymon,

    Hi, I'm sure this is really simple for some of you ... but I've been struggling with it for hours. I'm assuming that this is a calculation problem ... although it might turn out to be a relationship problem. : Here's what I'm trying to do : I'm altering my petty cash file to produce a sort of double-entry accounting system (or so my accountant tells me) I have a Table for entering debits and credits I have another Table in which I will set the Position at Bank for each fiscal year (I'm thinking the best way to do this is to have a single record per bank account per year. I have 5 bank accounts What I can't manage to do : I would like to have…

  41. Hi What I want to do: Database for keeping track of electricity use. So take start reading take end reading en use the outcome of end reading - start reading. The following day I create a new record and the start reading is the end reading from the previous day. But I do not seem to get it working! I can use the option value from previous record but that is the same field and not the value of the end reading field from the previous record. can someone give me a direction to find a sollution for this? thanks! emma

    • 8 replies
    • 798 views
  42. Price field on a repeating filed .. I have 2 DB Prices database: Part number: Retail: Price 1: $100 Price 2 to 5: $90 Quotes Database: Qty: Repeating Field Part Number: Repeating Field, has a relationship with the Price DB. Description: Repeating field, lookup. (works ok) Price:repeating field( I need field to retrive the correct price in the relation to the amount they get) I can only makte retrieve trhought a lookup the retail price and when I put a calculation y only calculates the first item. Both files are attach... Thanks for all the help in advance.

  43. Started by GlennC,

    Running any process on my main file (~200,000 records, ~400 fields) is becoming a very slow affair. I was wondering to what extent field indexing increases file size and processing. Would things be smaller/faster with fewer indexes?

  44. Started by dillon,

    Hello, is there anyway to have a basic popup menu that will allow me to choose more than one piece of information? I have my course expectations and there are times i am addressing two or three at a time, but I can only choose one of them in the field that I have created (I am a novice, and do not know much about it all - but I am proud of what i have done so far (HAHA)). I have adapted the Curriculum file provided free from the Fm Website for educators. Thanks for any help Peace dillon

  45. Hi 3 tables: Customer Purchases Inventory In the purchase table, there are multiple purchases per customer (by customer ID) I want to create a summary in which i would be able to see the total purcahses of each customer, but when i create the layout in the customer table , the body will only display the the last purchase the customer has made i have made a portal, which seems to work but i prefer it to be just the body istead, as i cant do calculations in the portal and do not like how the portal will always be 1 size and will not scale accordingly to rhe number of records somethign liek this: any help guys? THANKS !:

    • 4 replies
    • 610 views
  46. Started by x_actly,

    SCENARIO: a calculation field with 20 repeats, all repetitions showing horizontally in a portal row, and the field designated as a button. QUESTION: is it possible to click on a specific repetition of the field and have the repetitiion # identified and passed on? (i.e. click on rep #5 of 20 and pass the rep# to a specific field for use in other calculations.) Because the field is designated as a button, it cannot be entered - hence the 'Get ( ActiveRepetitionNumber )' function cannot be used. Anyone have any ideas, or is this impossible?

  47. Started by RWX,

    The solution I'm currently developing requires that I set up some calculated true/false relationships. An example is the coupon tracking. The user creates a coupon, enters a dollar value, an expiration date, and links select company clients to the coupon record via a join table. In the join table there is a calculated field that returns either a 1 or 0 based upon today's date and the expiration date. When the user creates an invoice record, he/she is given a list of valid coupons for the client on the invoice. The user may then choose to apply a coupon to the invoice record. Pretty basic stuff. Right now I have the coupons appear based on the following relation…

    • 7 replies
    • 933 views
  48. Started by RWX,

    I have a situation where I'd like to use a calculated global field. Although FileMaker will let me define the field, the calculation doesn't work. I'm still a bit unclear on when calculated globals may be used, so perhaps someone with a bit more experience can explain a few things... I have a relationship defined that uses a global on one end. The user selects a record from a portal. That record's ID number is placed in a global and this creates a temporary relationship to another table. I'm using this for setting up a series of payment due dates for an item. The first portal shows all line items on an invoice. The user selects an item and its ID is placed in …

    • 6 replies
    • 982 views
  49. Started by Steve Wright,

    I am stuck. I have a database that calculates the number of days between two date fields. I need to have a total that omits Saturdays and Sundays. Any help would be gratefully appreciated.

  50. Ok.....the answer is too simple?...right?...I certainly hope so.....I have 500 records....I initially search for all with a first name of "David"....it gives me 25 records.....how on Heavens earth do I get this number to show up (in its own field) on my layout?....Or any other "find records" search that I do?....I gotta be overlooking the obvious...right? The "Get" function shows me only total records in database....I just need the number of records in the newly found set. Any help is greatly appreciated.

    • 9 replies
    • 1.1k views
  51. ok, in the database I inherited there is a field that should be a date field, but was created as a text field. We wanted to change it to only allow dates so I changed it to a date field. Now here is the problem, any record that had that field as only a 2 digit year for the years 2000 - 2004, is now reading and 1900 - 1904. Is there anyway to create and run a script to change this? I guess I would need to add 100 years to the date, but I'm not exactly sure how to go about doing that. Any help would be much appreciated. Thanks, Rick

  52. Started by Cable,

    At Devcon, they showed us a way to reformat the data itself in a field to a different format, not just the display. I can't remember how to do that! I have a number field that has values such as "142" "42.2" "42.25" I want the data to be "142.00", "42.20" and "42.25" (always two decimal places). I'm running into the problem because I need to "set field" the value from that field into a global field that contains other data. I've tried to round, setprecision, and truncate. I even tried checking for the position of the decimal point and adding ".00" for ones without a decimal and "00" for the rest, intending to round or truncate to get back to the two demila …

  53. Started by Dave Bivans,

    I would like to permit the data entry of text , such as entering a telephone number, to not worry about the formatting but be formatted upon tabbing out of the field. For example, enter a phone number as 6107679560, and have the field format upon tabbing out of the field to (610) 767-9560. Over the years I have used other databases to do this with placeholders, but cannot find a way to do it in Filemaker 7. Any advice?

    • 3 replies
    • 676 views
  54. Ok.....the answer is too simple?...right?...I certainly hope so.....I have 500 records....I search for all with first name of "David"....it gives me 25 records.....how on Heavens earth do I get this number to show up (in its own field) on my layout?....Or the number of any other "find records" search that I do?....I gotta be overlooking the obvious...right?

    • 6 replies
    • 796 views
  55. I have two fields with drop down lists. The lists come from a related database. Field 1 = Card Name Field 2 = Card Number. In the related database there are two colums, Colum A Card Name has a corresponding Colum B with Card Number. What i want is on the record entry database, when user chooses Card Name from the drop downlist, for corresponding Card Number to be auto entered from Colum B in the related Database. Is it possible?

  56. Started by Steve Railsback,

    Greetings all - I want to pull the user name from an email which will be used for login and web account information. EX: Entering "[email protected]" into the "emailAddress" field would also populate the "login" field with "someguy" and "web" field with "http://student.school.edu/someguy". Using the left function does not work because the user name can be 1 to 8 characters long, and the right function only grabs the count from the right. Any ideas or suggestiongs? Going crazy here and I'm sure there's a simple way to do it. -steve

    • 3 replies
    • 649 views
  57. Started by Dr Kyle,

    I have a series of ten text fields which each contain the same types of data (names of fruit fly genes). There are ~200 records in the file, all having gene names in this ten text fields. What i need to do is add a calculation field (one for each text field.. eg. ten calc fields??) which takes the gene name in each of these ten text fields and searches for how many times the same gene appears in all ten fields and IN ALL ~200 RECORDS. I have no idea where to start with this one... I dont even know which function I would use here. Can anyone make suggestions? I can make a screen cap, show it, and elaborate on what I want to do if need be. Thanx guys! KY…

    • 18 replies
    • 1.2k views
  58. Started by Bekah,

    Here I am in Define Fields again. I have buttons which figure discounts and apply by script to UnitPrice (number). Script is: Set Field [ Round(UnitPrice * (1.0 - Get(ScriptParameter)); 2) ] Buttons are percents and script parameters are: .05, .10, .15 on up to .50 I have a global field called DISC and want it to display as: 5%, 10% etc. Right now, it displays 05%, 1% (instead of 10) ... yuk. It applies the discount right, but doesn't display in DISC right. I tried: Right(GetScriptParameter); 2) & "%" -- but on .10, it shows .1% Right("00" & Get(ScriptParameter); 2) & "%" -- no. There is no GetAsText function. I even tried u…

    • 7 replies
    • 770 views
  59. I am not able to insert PDF into Container as quick time movie. FMP gives me an error 709 'The QuickTime Movie file could not be inserted. Make sure the movie has been saved as self-contained and playable on non-apple platforms (709)' Any suggestion? many thanks in advance.

  60. Started by nutthick,

    I have a field that calculates the age on an invoice with the following calculation; Ceiling((GetCurrentTimeStamp) - TimeStamp(Date_Sent; Time(0;1;0)))/86400) Date_Sent is of type 'Date'. The formula works, but doesn't update from day to day. The only way I can get it to update, is to edit the calculation and change it back again, then it updates. Does anyone know why it's not doing this on it's own? Thanks

  61. Started by Wasatch,

    Is there any way to prevent a text field from wrapping? This would simplify a situation in which I use text to display data in a simulated graphical format.

    • 2 replies
    • 644 views
  62. Started by caramba,

    Hi, I'm quite new to FM but worked my way through the basics I think. My problem is the following: I would like to insert a list of filenames of images (e.g. world.jpg) which, when clicked, open in the appropriate application (e.g. Photoshop). Actually it should look like the list-view in the explorer and behave the same. I used a container field and inserted a file as symbol. But this way I always have the symbol (surprise, surprise) in the form, which would make a longer list of files pretty big. Can anyone help me with this?? Thanks!

    • 2 replies
    • 619 views
  63. I am brand new to FMP so please bear with me and my question(s). I have a database with cartoons. I have only one container field presently. When I Insert>Picture... it doesn't seem to matter whether I do it with the "Store only a reference to a file" box checked or not....since, when I click on the picture, in either/both cases I can Edit>Export field contents.... In both cases the file is exported, even though in one case it's just supposed to be the reference. What am I missing here? I am trying to avoid using too much disc space by only having one container field that has both the file and picture, so I can trash the original file/folder. Thanks for the help.

  64. Started by corey,

    I am using a Calc. Field that has 4 x Check Boxes. I can get it to work if 1 x selection is made, but i want to be able to select a combination of 2 Check Boxes. How do i do this? Am using :- CASE(fielda="a",fieldz, fielda="b",fieldy, fielda="c",fieldx) I tried this:= CASE(fielda="a" and "b",fieldzz) and CASE(fielda="a and b",fieldzz) but they did not work. Where can i ADD the AND to include a selection of 2 x check boxes into the calc.? any help appreciated corey....

  65. I have a database with the pictures and info of all paintings that we sell. Each record has it's own picture. I was wondering what would it be better , to import the picture ou just the reference. My database may have more than 2,000 records, and growing, so if I import each picture I think it would be too big. I don't know what is better. Anyone?

    • 11 replies
    • 1.5k views
  66. Started by fbugeja,

    I am creating a database for school use - I am a teacher. In the database, I have created a number of help screens, each containing a text field. I can type text in these fields - but when I exit from FM7 and re-open the database the text seemingly has disappeared. However, when I go into Preview mode, the image shows the "disappeared" text! Why is the text in my text fields disappearing when I am in Browse mode? I have checked all possibilites (eg white coloured text), but no luck! Any help appreciated! Frank Bugeja

    • 11 replies
    • 1.4k views
  67. Started by Bekah,

    I have wholesale number. I need a calculation number: Wholesale number plus 67% of it ... and then if the cents is < 50, round it down to the next 99 cents. And if 50 or above, round up to the next 99 cents so that: Wholesale = 6.29 becomes 10.99 Wholesale = 7.19 becomes 11.99 Wholesale = 4.69 becomes 7.99 These are examples I took from previous orders. I can get this part: Round(Wholesale + (Wholesale * .67); 2) I can't make it round up or down right to the 99 cents. I tried using IF but it kept weirding on me and the number of cents to adjust kept changing. Ideas please?

    • 2 replies
    • 2.4k views
  68. Started by Tanner,

    Please help, I am trying to make a calculation that just returns the name of the current field selected and it is not working. I made a calculation field that has this in it, Get(ActiveFieldName). When I have field selected nothing shows in my calculation field though. does anyone know what is going on? I have made the calculation field as both a normal calculation and as a global field. -Tanner p.s. Filemaker 7.0v3 on Mac OS X 10.3.6

    • 6 replies
    • 910 views
  69. Started by Oldsneekers,

    Lest Let leads to lunacy, I request anyone's help. As I usnderstand Let, any field or function can be a variable, and an expression can be any field, function or constant. Thus a complicated set of functions can be expressed in a simple manner. I want to "explode" a field entry for a portal matchfield. This field with have 2-3 words. In the past I used nested functions (left 3 letters(middleword(fieldXYZ)&"PP"& further repetitions with increasing size of text which makes for long calculations. I thought Let will simplifiy this: Let( [ Leftword(fieldXYZ,1) = "one"; Middleword (fieldXYZ, 2,1)="two"; Middleword(fieldXYZ, 3,1)="three"]; left(one, 1)…

    • 3 replies
    • 709 views
  70. I am exporting a container field that contains .pct file. The database contains approximately 1500 records and I want to automate an export of all the .pct files. So it is great now that we have this feature in 7 to export the contents of a container field. but does any body have a suggestion on how to automate this so that it names the file with, say the contents of a text field in the same record for instance?

  71. Started by trainee,

    I created a report with a subsummary. I display the average of student's attendance for all the courses token. And I want to change the color of the background each time the result is less than 85%. It's a flag that said the student has been absent so often. I had many answers, but no one take into concideration thae fact that the attendanceavrage is not a field but rather a subsummary generated while creating the report.

  72. Started by Jarvis,

    I have a container field that holds PDF files of cabinet drawings. To conserve space, these are stored as only a reference to the file. To open the file the user has to double click onto the PDF icon in the container field. Is there a way to open the PDF file via a scripted button or a calculation rather than clicking onto the file? Thanks in advance! Jarvis

    • 4 replies
    • 882 views
  73. Ok, the records in my database have a zip code field, and I wanted a field that would tell me how many records in the database have that same zip code. So i set up a self relationship, based on the zip code, and used this calculation: Count( zip code count::constant ) constant being a field that is always equal to "1". now my question is this; how can I make it so that it calculates only using the current found set?

  74. Started by Bekah,

    Well, I thought I understood these text things but this one isn't working. I need to grap part of a UPC code. I want people to enter part of it and a single portal row to appear showing the appropriate product. UPC codes look like this: 7 49623 00157 7 I want people to type '157' which is unique to a product in that exact position (into global text) and that relate to the above calc. How can I say MiddleWords(UPC; 3; 1 (but only the right 3 characters of that 'number of words 1')?? I tried many things to get it and can't. I tried from the left and the right and the middle.

  75. I'm a newbie, sorry if the answer to this question is too obvious, but I can't figure out how to do it on my own. After filling in information in the last field on a record, I would like to move to the first field of the next record upon hitting enter from the last field. I would like to minimize the number of key strokes, so I really don't want to use a button or the book. How can I accomplish this. Thanks very much for your help! BillBroc

  76. Hey, I have two fields, one that you enter a dollar amount, and one that categorizes it. I want to make it so if you choose "zero" or whatever from the drop down list of categoriies, then it automatically places the amount "$0.00" in the dollar amount field (and locks you out).... and if you choose something else you can place a new dollar amount... how do I do this? Thanks

  77. I have a client who has created a db for odd travel sites. Each record contains four container fields with inserted images. The data will be exported to XML to be read by the Flash app on the local public tv website. I have read that i can create a calc field that will parse the container data so that the relative path and file name will be exported for each record. The scenarios that i have read about don't address my problem specifically so any guidance would be extremely helpful. this is a pro bono thing or I'd just hire someone. 1600 image names would have to be manually entered otherwise!!

  78. Started by Bekah,

    I've been searching and can't find help. Ive learnt alot about title case etc but I'm in a quandry... I have text field which is a mix of old program and new. Old program was all caps and new is right - entered as title case. i hate all caps. I should have fixed it before importing but I did not and now its too late. I thought ... no prob ... just use field format to title case and it'll fix the all caps problem. But that has created its own problem. Because many title case names (companies) are like this: The ABC Company ... or ... Whole Markets (GLD) Using title case makes them wrong as The Abc Company and Whole Markets (Gld) oh dear. now ou…

    • 12 replies
    • 983 views
  79. Started by robert.k,

    Dear All, I am kind of having a big problem. a clients database has a massive amount of imbedded images within the container. is there any way to export this images and save them somewhere on the harddrive? absolute brilliant would be if I could invluence the name the images will have. from what I have heard so far it seems impossible but maybe you know. best regards

  80. Started by robshortii,

    Hi, Can someone tell me if you can create a value list to have a pop up menu and select what field you want to go to...this would be to eliminate buttons. thanks in advance for some help. rob

  81. Started by Jarvis,

    I'm not sure where to post this question so I thought I would start here. I'm building a list of questions that I have to ask each customer. For lack of a better way to do this, each question is also the field name. (I am going to try to integrate LaRetta's field factory for this purpose). Each question that I ask has a value list associated with it that constains the range of allowable answers. This list of questions will be lengthy so I would like to also include an identification number for each question. I think it will be easier to manage this list if I can point someone to "question 26" if that question still remains unanswered. I would like…

    • 4 replies
    • 708 views
  82. Started by Jarvis,

    When I insert a file or a picture into a container field I am given the option to store it as just a reference to the file or picture. This option does not appear to be available when inserting a quicktime. If this is true, the insertion of quicktime movies will make for some real big files real quick. Can anybody advise me how to keep these quicktime insertions as just stored references? Thanks! Jarvis

    • 2 replies
    • 571 views
  83. Started by mhemans,

    I need to make a calculation that is, what I am calling an if/then statement. This is what I am looking to do. If "Field A" = 1 then "Field B" = 1, If "Field A" = 2 then "Field B" = 2, If "Field A" = 3 then "Field B" = 4, If "Field A" = 4 then "Field B" = 7, If "Field A" = 5 then "Field B" = 11, If "Field A" = 6 then "Field B" = 16, If "Field A" = 7 then "Field B" = 22

  84. Started by spookytooth,

    I am creating a simple database designed to be used with a CGI/Perl script. The idea is that I can export all of the relevant field data into a text file in the format required by the CGI script. This is all working great. simple, lovin it!! Now, I have tried parsing the name of the image within my container field a number of ways. The most successful method to date is using the folowing: "/"&RightWords ( northwest_catalog_2005::Image_Thumb ; 3) This works fine if the name of the file is "image_spongebob/pillow110.gif" However, if the name is "image_spongebob/110pillow.gif", then the required parsing method changes to this: "/"&RightWords ( no…

  85. Started by GarthT,

    Hi - I am a doctor trying to create a DB for skin cancer patients. We decide patients' follow up based firstly upon the thickness of the tumour. I have created a calculation field for follow up (calculated follow up), which does this based upon a free text entry for tumour thickness. BUT sometimes we need to override this schedule depending on other variables. I want to be able to choose from a predefined value list (follow up override) to override the value created by the calculation field (calculated follow up). In layout I have tried placing the value list underneath the calculation field (deselecting "allow entry into field" in the calculation field). This does…

    • 2 replies
    • 1.3k views
  86. How do i create a field that returns the same numeric value for all records? In my application, our billable labor rate is used in various calculations and or fields. When our rate goes up I have to track down everyplace it is used and increase the value. Can't I just create a field for the labor rate and increase the value there instead. I tried using Auto Enter and placing the rate in the Data field but this didn't work. There must be a simple way to do this. Any help would be greatly appreciated.

    • 3 replies
    • 504 views
  87. Hello, First want to be sure i mention that I really do appreciate the folks in these forums for all the help. I have a few books and do try to hit them first before i ask for help here, but just so it's clear - appreciate all the help! now for a question; I have a date field, which I want to validate, i simply want to make sure they do not type a date less than today something like this I use for validation calculation: Date_Due ? Get(CurrentDate) I also put in a custom message, which says the name of the field and is a little more polite than FM7s stock message. fine. I have a layout called Edit Record and then I have a button (actually a few but…

    • 2 replies
    • 594 views
  88. Started by IEW,

    I have a field called "Date of Last Activity". It is checked in the modificaton box and is "date". The date changes to current date when the layout is opened, this is not what I want. How do I keep the date from changing until the record is really modified or accessed. TIA Ivan

  89. Started by Slobey,

    Hi, I have a solution that has a table called Descriptors and a line item table for it with a portal. The line items are taken from a part table. I have a part called "Miscellaneous materials". I want the price to be 3 percent of the total price of the "Descriptor". I made a calculated field in the Descriptors line item table as follows: (note: p 002072 is the part ID for miscellaneous materials. If(Part ID="P 002072"; Descriptors::Descriptor Cost * .03; Parts ID::Unit Cost) It is a an auto enter calculation, replacing existing value. The main problem I have is that it finds 3% of the total with the Miscellaneous materials added before calculatin…

    • 0 replies
    • 599 views
  90. Started by yung,

    Hello, I'm trying to set a field based on the last modified field out of a group of fields in my record. Example, I trying to set "Progress" field based on the last modified field say out of 5 fields, lets just call them field "A", "B", "C", "D", "E". If "E" was last modified, I want the field "Progress" to display (E was last modified). Thanks for your help. _yung_

    • 4 replies
    • 615 views
  91. Started by Ninja,

    I'm currently creating a large relational database to take the full workload of a warehousing and distribution company. I'm using FileMaker Pro 5 developer. The software takes account off all orders/deliveries the company has to make, each on a particular date. Each of these deliveries is made for one particular manufacturer. When entering the data the user enters the 'ORDERS' layout, selects the manufacturer from a drop down menu (the list of manufacturers is stored in another file and the list appears through a lookup value list) the user then enters the delivery info including address, postcode, delivery date and items to be delivered. Given the list of items, item s…

  92. Started by luke_s,

    Hello i am building a database with filemaker and i want to have a link button to a webpage on one layout. the link should point to different webpages for each case. can anyone help me how to do this? thanks

  93. When I apply security to my database limiting a privilege set from total access but allowing it modify access to all fields and all records but view only all layouts, the permissions work correctly on all fields except container fields. They do not allow access even though it is clearly allowed in the permissions. I am looking to paste *.pdf files in the fields for record storage. But I don't want users to have access to change layouts.

    • 0 replies
    • 500 views
  94. Ok, I've got a staff database with many classifications for position, and I want a tally for how many of each position have been hired. So I defined a Global variable for each possibility wrote a script to count each and store it in the respective globals... the script does a search, moves to the last record, then sets the value of the global to the current record count, which gives me a number I can then display on the layout. However when there are no hires for a certain position, the whole thing blows up. It gives me a "search returned no results" dialog and bails. What I'd like is to get a 0 value on positions that have no hires, and continue counting …

    • 2 replies
    • 562 views
  95. Started by tsd,

    Hi ! I have 1 field called Article (number), 1 field called Link (global), 1 field called Image(container), and 1 field called complete_link (calc). Article is a number user press in. Image will depend on complete_link. Link is G:Images complete link is calc: link & Article & ".jpg" If a user press in number 12345 the complete_link field will be G:Images12345.jpg. I want that image 12345.jpg to show up in the containerfield Image-field as "Store only a reference to the file". Is this possible ? Best Regards...

  96. Started by DanBrill,

    I have a container field of picures. The actual picture is not stored -- just the path name pointing to a jpeg on a network drive. If the picture is deleted, the container field shows a message "The File Cannot Be Found: PicName.jpg" I'd like to find the records where the links are missing so I can delete the record. How can I find them? IsEmpty() doesn't work -- it still thinks something is in there. GetAsText(ContainerField) still shows the pathname to the file, despite the fact that it isn't there. Any ideas on how to clean these up? Thanks, Dan

    • 13 replies
    • 1.3k views
  97. Started by Himitsu,

    I don't want to post two of the same questions in different locations but I am having a real bugger of a time. I am trying to email an invoice to a customer and I think I should have a field that a script sets with all the information. However, I can't figure out how to put in the records that are related to the sales id. I know it can be done, I am just too much of a begginer to figure it out. Any ideas? I was looking through past posts for hours and I really couldn't find anything about emailing invoices.

  98. Started by Kirk Mueller,

    I have a database for of scanned slides. The images are stored on a webserver at: http://domain/slides/thumbnails/x.jpg I have tried creating a calculation in the container field to reference the file from the hard drive at: /webserver/slides/thumbnails/x.jpg This would work if I viewed it from the computer. However, I have the database shared using FileMaker server 7 advanced and the clients can not see the thumbnail image. Also, the faculty who add slides can not view the thumbnail on their machines. Is there a way to have the container reference the file from the webserver? Any help would be greatly appreciated!

  99. I have two databases: Attendance is used to collect data about student attendance (go figure). Class Lists is used to compile the data and figure out grades. In the Attendance database there is a check box to determin if the absence is excused. I was using this formula to count the number of absences but it doesn't take into account the excused field: [color:"blue"]Sum(Attendance:#Absent) What I would like it to do is, "If the check box is checked, don't count this record. Otherwise, count it." I think it should look something like this: [color:"blue"]If(Attendance::Excused ="x", Omit, Sum(Attendance::#Tardy1)) Any advice would be …

    • 6 replies
    • 740 views
  100. Started by fbugeja,

    Is there another way of achieving the following, without using the Type-Ahead plug-in? I am a school teacher using FM7 to create a student database containing the names of 1000 students. I want to create the situation whereby when I type in a student

    • 4 replies
    • 671 views

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.

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.