![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I once used this cool trick I got from Filemaker advisor but I can't remember it anymore. What I want to do is sort my list of items by a "room" field (kitchen , bedroom, bathroom , etc). When the list diplays (in a portal) I don't the items to all have the room name beside them, just the first one the the following ones are blank . example Room item Kitchen Mixer Microwave blender Bedroom Clock radio filing cabinet Bathroom Razor The trick involved lookups and some sort of self join so that only the first occurance shows ......anyone know this one? |
#3
| |||
| |||
|
|
whizzkid wrote: I once used this cool trick I got from Filemaker advisor but I can't remember it anymore. What I want to do is sort my list of items by a "room" field (kitchen , bedroom, bathroom , etc). When the list diplays (in a portal) I don't the items to all have the room name beside them, just the first one the the following ones are blank . example Room item Kitchen Mixer Microwave blender Bedroom Clock radio filing cabinet Bathroom Razor The trick involved lookups and some sort of self join so that only the first occurance shows ......anyone know this one? At this point, I would hazard a guess that nobody currently subscribed to this group has the answer for you. The folks here are quite knowledgeable, but that doesn't mean that they are aware of every trick ever devised. It certainly isn't the only source of help. I know, for instance, that you haven't tried the FMPExperts list at http://www.ironclad.net.au/lists/FMPexperts/index.html. At least, I haven't seen there any post similar to the four here. There's a forum at http://www.clevelandconsulting.com/support/ and another at http://www.fmforums.com/ just to mention a few. Matt |
#4
| |||
| |||
|
|
On 11 Jul 2005 22:20:18 -0700, whizzkid wrote: I once used this cool trick I got from Filemaker advisor but I can't remember it anymore. What I want to do is sort my list of items by a "room" field (kitchen , Maybe the question is too simple or just not appealing enough. Maybe it's not clear enough whether you want to get a popup list or a portal/ bedroom, bathroom , etc). When the list diplays (in a portal) I don't the items to all have the room name beside them, just the first one the The solution could be rather simple. However, your example neither shows a reasonable sort order by Room, nor by item. example Room item Kitchen Mixer Microwave blender Bedroom Clock radio filing cabinet Bathroom Razor The trick involved lookups and some sort of self join so that only the first occurance shows ......anyone know this one? * Take e.g. the relation "ROOM" from Room to Room. * Use a field "SERIAL" for an auto enter serial number. * Use a calculation field ROOM FIRST if(SERIAL = ROOM::SERIAL, Room, "") * use a manual sort order "ROOMS" Kitchen Bedroom Bathromm (or could this be the room name in reverse order?) * use a portal which may display the records in sort order ROOMS * include the fields [ROOM FIRST] [item] does it work? Martin |
#5
| |||
| |||
|
|
hey look at that...it works.....thank you very much at first glance I still can't tell how it works though. I guess its cuz in self joins it only puts the first occurance in the relationship |
|
BUT....how do I handle updating it when records get deleted or added? ie: if the item which is the first occurance of Kitchen gets deleted how do I get the next in line to to "show" as kitchen? |

![]() |
| Thread Tools | |
| Display Modes | |
| |