Jump to content
Sign in to follow this  
Jokez

View lines in portal

Recommended Posts

Hi all! Hope u can help me with this problem!

I have created a Portal that shows information,

but I would like to for each row to be able to show

more information about this row in another place

in the same layout. Can I do this? How can I make

FM understand what row I have selected and how

do I make it show more information at another location?

Plz help me and have in mind that im all new at this wink.gif

Regards Joakim

Share this post


Link to post
Share on other sites

Joakim, your question isn't exactly very clear but I'll give it a try.

If you are asking how to show more fields in the portal row than what the typical portal single field per row provides space for, you can simply increase the width of each portal row so that it can accomodate more than a single row of fields.

If, on the other hand, you are asking how you can show additional related information about the currently selected portal row, but display it not in the portal but on another part of the layout, then what you need to do is use a combination of a button/script to determine the current portal row, get and display the additional information. The script would be roughly something like:

Set Field gPortalRow, status(CurrentPortalRow)

Go To Portal Row (by field value, gPortalRow)

Go To Related Record (whatever your portal relation is)

Set field gPortalRelatedKey, whatever your matching key is for the additional info

Display the info as required

Hopefully you can understand the above pseudo code. There are many ways to do what you want, but the essential steps would be to save the current portal row in a global variable. Then the rest of your script can do what it needs to do to extract info from that portal match row. Attach this script to a button (embedded in each portal row) or one or more of the fields in the portal row and use that to run the script.

Hope that helps.

Echo

Share this post


Link to post
Share on other sites

A question: Do you want to be able to edit the information or just see the information that is already in the database?

smile.gif Paul

Share this post


Link to post
Share on other sites

Echo's answer may be more complex than needed. You really only need one step in your script:

Set field ( globalKey, related::relatedID )

With a relation globalKey::relatedID, you can display the related row's information.

--------

Another fun trick is to create a global container field in the related file, draw a small color-filled rectangle (in layout mode), copy it, and paste it into the container field (in browse mode).

Then create a calculated field of type container: Case(relatedID = related::globalKey, container).

Put this calc field in your portal in the main file. Stretch it to fill the whole row. Set the graphic options to Reduce or Enlarge. Send it behind the other fields in the portal.

Now your selected row will be highlighted!

Share this post


Link to post
Share on other sites

Thanx! Yes I wanted to display additional information in

another window.. just display it not do anything else

with it...

Hope this answers will help me on my way

Regards Joakim Sj

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By Tumma K
      Hello, All!

      I am an aspiring developer for Filemaker. The company I work with is stuck in the past working off of Filemaker Pro 4.1

      I was given the task of bringing us up to Filemaker Pro/Server 13. So far my conversion prototypes are successful but we recently had a layout issue that can only be fixed in versions 3-6 (as the file is an .fp3) I work off of a macbook while our network is all Windows 7. In order for me to repair the layouts without tampering our active database, I decided the best option is to repair a copy of our solutions off the network. Unfortunately, when I go to download the trial version of Filemaker Pro 6 off of the respected website, the file is corrupt! I've tried multiple times, with different extraction apps and in different directories.

      My question is;

      Does anyone know a place where I could obtain version 6 (or better yet, 4.0) for an OSX computer? I've looked everywhere!
       
      Thank you for your time,
      Tumma K.
    • By MrEddByrnes
      I'm hoping my question can have a happy ending. In the mid-90's, I purchased Filemaker 3. When Filemaker 5.5 Pro was released, I bought the update CD, which requires the user to either have FM 3 installed or to have the installation CD for FM 3. I've used it all these years, most recently with Windows XP Pro, and it has worked just fine. The databases I began with were long ago converted to FM Pro 5.5 databases.
       
      I'm still using FM Pro 5.5 on a laptop with WinXP Pro, but in 2013, I purchased a PC with Windows 8. I haven't been able to install FM 3 on it, therefore can't install FM Pro 5.5. I am retired and rarely use Filemaker, but I have a few Filemaker databases I'd like to add to my Win 8 machine. I don't feel it's worth upgrading FM for the sake of using a couple of databases.
       
      Has anyone else run into this situation and/or have a (possible) solution? Is there perhaps any other software that can read FM 5.5 databases? Thanks in advance for your help.
       
    • By bmill
      I am using a custom filemaker solution for medical office billing written with fp5 running on a mac with snow leopard. In addition, I have a patient management db (which I wrote) that is linked through pt. ID number to the billing program allowing transfer of some demographic information (name, DOB, etc).
       
      Other than being limited by hardware restrictions, the billing program serves our needs for now and upgrading to fp12 will take some time (and money).  In the meantime, I am upgrading my pt. management program to fp13 and would like to move new patient demographic information from the billing program ( fp5 running on snow leopard through Parallels) and the new pt management program ( fp13 running on OS X 10.9) on the same mac.   
       
      Ideally, demographic information would be entered once into fp5 and then a scipt would make the data available for fp13.
       
      Any ideas on how to make this work?
    • By randyinla
      Hi, can anyone tell me why my on-line database might have stopped allowing me to delete records?  All of my access privileges and passwords are correct.
       
      thanks!
    • By randyinla
      Hi, I still use filemaker 5.5 and am very happy with it and don't want to upgrade.  Does anyone still host filemaker 5.5?  Thanks!
  • Who Viewed the Topic

    5 members have viewed this topic:
    mr_vodka  samarthmkt  john9210  Steve Martino  comment 
×
×
  • Create New...

Important Information

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