Jump to content

K1200

Members
  • Content Count

    605
  • Joined

  • Last visited

  • Days Won

    1

K1200 last won the day on June 24 2012

K1200 had the most liked content!

Community Reputation

3 Neutral

About K1200

  • Rank
    member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for your reply. It led me to retrace my script steps for the Nth time. As I mentioned, I was going to object (portal, by name, and then field) and then setting a parameter with the current ID. As something to try, I inserted a Go to Portal Row[first] ... and voila!, it fetched the current first ID. Apparently, going to object doesn't home in on any current content. I never realized that. Onward!
  2. I use a filtered portal to display a subset of content from a table. Everything works fine and when I click on a portal entry, I have no problem fetching the corresponding table entry ID and then displaying related content from the specific entry. All that is good. The problem is that I have a script that needs to get the ID for the first entry in the current results. I've tried different ways, but none will return that first ID ... even though I "go to object" ... first the portal name and then the field name. Usually the ID that's returned is the first for the table, as if the portal filter is being ignored. I certainly don't want to build in a duplicate Find operation when the correct entry is right there on the screen! How can my script get the entry? Thanks in advance for any assistance.
  3. I use the Insert Picture in a script to place the contents of an image file into a container. Under FMP14 I'm seeing a very brief message whenever the step executes. The message title is either "Insert File" or "Inserting". I have seen both. But the messages are so brief—just a flash—that I can't determine if there is more message content. I don't recall seeing them in earlier versions and there is no message option listed for the script step. Are these considered "standard FileMaker messages"? ... or could they be coming from the operating system? If they're FileMaker messages, can they be disabled? I'm running on Windows 7 Pro. Thanks in advance for any help.
  4. @LaRetta: Thanks. That does work. But in Windows on my PC, I've found that a simple GetAsText also returns the file's name, just like GetcontainerAttribute. I haven't tested all file types, but it seems to work for PNGs. Thanks for the other responses, also.
  5. Thanks for the response ... but I had looked for some definitive image attribute and couldn't spot one. Did I miss it? filename seems to only apply to inserted files and not to pasted images. But I'll try some additional searches.
  6. I have an instance where a container field is occupied by an image of unknown type. It might have been inserted or pasted in ... or imported. It will be accepted for further processing only if it's a PNG. How can I easily determine that? When I look at the actual header bytes of the file (after exporting it), "PNG" is clearly visible. Yet I wasn't able to get those first 4 bytes with a Left ( text ; 4 ) directly from the container. Is there a way to do that? Thanks in advance for any help.
  7. That IS on the agenda. But the first order of business was/is to get the application fully working in FMP14. It's come up all the way from FMP7, when you had to keep track of active tab panels with variables like $$Tab1, $$Tab2, etc. I'm sure you remember that. Many of those are being replaced with Popup Panels ... as time permits. All-in-all, I'm pleased with the way such a complex application is behaving under FMP14. It certainly wasn't that way on a previous attempt ... an abandoned upgrade to FMP12. In that instance, the GUI was badly mangled. Now, it largely works (theme=Classic) ... with pretty clear reasons when something doesn't. Thanks again for the suggestions.
  8. @Fitch: you hit the nail on the head. Four more hours of diligent testing arrived at the actual solution. I won't bore anyone with all the details, but suffice it to say I had a TO related to a global field in a primary table ... and the relationship wasn't causing the displayed content to change when I changed the global. I thought the solution was to relate the TO to a different TO that was always "current" with the operating circumstance. What I've finally determined is that a Refresh Window[Flush Cache Join Results] is needed. Before that, I tried adding a cartesian join ... as suggested by this article: Article But the join didn't work (don't understand why). The Flush Cache does. So, I was looking for Y when I really needed X ... or is it the other way around? Thanks for all the suggestions.
  9. @Fitch: if I follow that method, it's remapping references as the layout is pasted. But I'd be afraid to use it on my main layout that has 50 tab overlay panels and references probably 500 fields. It's also a recently-converted layout from the fp7 side of the fence. I'm skittish about introducing something that would take me weeks to ferret out. Plus, it doesn't appear to address the script references. None-the-less, it's good to know of and will come in handy on some of my simple applications. Thanks. @comment: thanks for the suggestion, but unless I'm not understanding, double clicking opens the relationship dialog, but doesn't let me delink the existing relationship. Is there some other feature?
  10. Yes, the TO is an occurrence of a primary table ... but the relationship diagram has it linked to a table that's different from the one I need it linked to ... so the portal that displays it doesn't show the correct subset of records. I need to reestablish its relationship without disturbing all the scripts and layouts that reference it. Possible?
  11. I've found a TO that is linked to the wrong primary table. I want to keep the TO—same name and fields—and link it to a TO of the the primary table ... not the primary table, itself. I can't determine a way to do that. I learned long ago that if I create a duplicate TO, it generates a "2" version ... and I have to change all the references in scripts and on layouts. Likewise, if I delete the original TO and generate a new one of the same name ... all the original references in scripts are lost. Is there another way? I tried adding a link to the correct TO, with the idea of then deleting the original link ... but it won't let me set two, even for a moment. Even after 7 years, this is one aspect of FileMaker I've never understood. (Please tell me I'm missing something!) Thanks in advance for any help.
  12. That sounds like a solution ... except this is a kiosk-style application that would have to have a "Spelling Options" button somewhere on the screen to bring up the dialog ... which isn't a good solution for on-the-fly settings. So ... since I can't find any script step for toggling, I guess the alternate field table is it by default. Thanks for trying.
  13. No ... only that they can toggle checking on/off for any field, according to what they're entering at the moment. Spellcheck can either be a great advantage or a great distraction. I just want to let THEM decide.
  14. Thanks for your response. I should have been clear: I'm looking for a user feature for runtime use. I had thought of a "swap fields" approach, but hoped that wouldn't be the answer. In an application with well over 20 entry fields, it would be a bear to implement/manage ... although I suppose a single button that uses a table of alternate fields could be made to work: Check Which Field ... Swap To Alternate. But then there's the user's cursor position to worry about.
  15. Over the years—and particularly for FM14—has anyone come up with a user-convenient way to toggle spellcheck on/off for a particular entry field? Spellcheck is so simplistic in Filemaker that it flags partial words that are being typed ... plus all urls ... and occasional supporting references like "libeay32.dll". Ideally, there would be a toggle button somewhere on the GUI. But how can you achieve that effect? Thanks in advance for any suggestions.
×
×
  • Create New...

Important Information

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