![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a portal showing records from a self-join relationship such that while I am looking at the record for an item, I can also see a list in the portal of other items from the same table with a matching category field. Of course the portal list includes the item I am currently looking at which is useful to show it in a sorted context. What would be even more useful is if the current item was highlighted in the portal. I know this can be done by enforcing navigation through scripts attached to buttons in the portal; I have done this before and found it so complex as to be impossible to make user-friendly and fool-proof at the same time. There have been a few discussions of this type of thing on this newsgroup over the years, but nothing recently and I feel sure that FM8.5 might at last have a Get() function I have overlooked or a new bit of relationship functionality which makes this relatively simple. Please tell me it is so! ;-) Thanks, helpful people Alan |
#3
| |||
| |||
|
|
I have a portal showing records from a self-join relationship such that while I am looking at the record for an item, I can also see a list in the portal of other items from the same table with a matching category field. Of course the portal list includes the item I am currently looking at which is useful to show it in a sorted context. What would be even more useful is if the current item was highlighted in the portal. I know this can be done by enforcing navigation through scripts attached to buttons in the portal; I have done this before and found it so complex as to be impossible to make user-friendly and fool-proof at the same time. There have been a few discussions of this type of thing on this newsgroup over the years, but nothing recently and I feel sure that FM8.5 might at last have a Get() function I have overlooked or a new bit of relationship functionality which makes this relatively simple. Please tell me it is so! ;-) Thanks, helpful people Alan I know this can be done by enforcing navigation through scripts attached to buttons in the portal; I have done this before and found it so complex as to be impossible to make user-friendly and fool-proof at the same time |
#4
| |||
| |||
|
|
click row select script parses the selected portal row ID to the g_ID (for the hilite) and then navs to the selected record; in THAT order |
#5
| |||
| |||
|
|
click row select script parses the selected portal row ID to the g_ID (for the hilite) and then navs to the selected record; in THAT order Looks like you are saying "run a script when clicking the portal" which is just what I was trying to avoid. With this type of system, if you use the standard status area navigation controls the highlighted portal row doesn't change, so you have to replace that option with scripted navigation; or if you arrive at a record through a relationship or a Find operation then those too need to be scripted in order that you can control "switching on" the highlight; and any other scripts which might bring you to a record on this layout will need a sub-script to check the highlight status. YUK!! I have become tired of tying up all the loose ends in such a system and often the processing overheads start to outweigh the small ergonomic advantage for the user. I guess another way to put my request is that I presume FileMaker must "know" where the current record is in a portal and should easily be able to point it out to me. |
#6
| |||
| |||
|
|
click row select script parses the selected portal row ID to the g_ID (for the hilite) and then navs to the selected record; in THAT order Looks like you are saying "run a script when clicking the portal" which is just what I was trying to avoid. With this type of system, if you use the standard status area navigation controls the highlighted portal row doesn't change, so you have to replace that option with scripted navigation; or if you arrive at a record through a relationship or a Find operation then those too need to be scripted in order that you can control "switching on" the highlight; and any other scripts which might bring you to a record on this layout will need a sub-script to check the highlight status. YUK!! I have become tired of tying up all the loose ends in such a system and often the processing overheads start to outweigh the small ergonomic advantage for the user. I guess another way to put my request is that I presume FileMaker must "know" where the current record is in a portal and should easily be able to point it out to me. |
![]() |
| Thread Tools | |
| Display Modes | |
| |