Jump to content
Sign in to follow this  
mallikai

remember last portal row

Recommended Posts

platforms windows and mac, filemaker 5.5

I've got an image database that has thumbnails and references to images on a server.

In the client database, i've created a relationship for customer_id::images and customer_id::client

So, there is a scroll down thumbnail list of client images when you click on a particular client. On the right side of the same layout, I created another relationship with customer_id&record_number::image = cusstomer_id&g_record_number::client. So, when someone clicks on the thumbnail image, an enlarged image is shown to the right via a reference file.

However, I have not been able to figure out how to keep the portal row on the last record that was enlarged in the thumbnail scroll down list. It always goes back to the first image. I've tried go to portal row and i've tried go to related record in scriptmaker.

Any help?

thanks

Share this post


Link to post
Share on other sites

Hi Mallikai,

The way to do this is to store the portal row in a global number.

So when you click in the thumbnail portal, the first step of the script that's called shoulb something like:

set global_last_portalrow to Status(currentpotalrow)

You could then go back to the same row via a

goto portalrow (global_last_portalrow)

Hope this helps,

Regards,

Ernst.

Share this post


Link to post
Share on other sites

I have several examples of fixed (non-bouncing) portals, e.g. "Fixed Portal New" file (from www. filemakerpros.com site :, but I don't remember the original sources of them. The recent one you can find in the Sample File forum section ("OSX Look Portals" by Ugo Di Luca).

Share this post


Link to post
Share on other sites

Thanks MSE,

The link to Giuseppe Pupita's Fixed Portals is :

http://www.buliga.it

Actually, if you're looking for the "process explanation", you'd better look to this one. Mine is an adaptation with very little explanation.

Share this post


Link to post
Share on other sites

thanks...that worked like a charm...status(currentportalrow)

didn't think it would be so easy...

my only comment is why does the scroll bar not stay next to the record that was last...it is always almost at the top...but that's a minor thing...

Share this post


Link to post
Share on other sites

Hi Mallikai,

>>my only comment is why does the scroll bar not stay next to the record >>that was last...it is always almost at the top...but that's a minor

>>thing...

And that's where the 'fixed portal', the thing that mse and Ugo refer to, is used for!

Regards,

Ernst

Share this post


Link to post
Share on other sites

Hi Giuseppe and Ugo,

[color:"blue"]The link to Giuseppe Pupita's Fixed Portals is :

http://www.buliga.it

Is there an english version of Fixed Portal at this site? I would like to recommend it to someone.

Lee

wink.gif

Share this post


Link to post
Share on other sites

grin.gif

[color:"blue"] You must have missed it.

http://www.fmfiles.com/tnt5.html ---> FixedPortalNew.

Now I still like a trip to Giuseppe's site, which has plenty of other flavours...

Ha, ha, ha, ROTFLMAO - AGAIN!

That's the one I gave as a link thinking it was the file by Davor Juretic, and was wondering about the questions that came back???

So, yes I guess I did miss it, BIG TIME

Thanks

Lee laugh.gif

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  

×
×
  • Create New...

Important Information

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