![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, FileMaker n00b here. I searched Google Groups for an answer to this, but couldn't find one. I'm developing an event management database. It has an Attendee table, a Registration table and an Event table. When an Attendee purchases a Registration for an Event, the relationships and portals are set up so that you can look at an Attendee and see his Event history. Likewise, looking at an Event, you can see all that Event's Attendees. (The Registration table is the "go between" in this many-to-many relationship.) What I need to do is determine, in a calculation, the city where an Attendee most recently attended an Event. I can easily get the most recent event *date* with Max(Event::EventDate)... but how do I then "get at" the city where that most recent Event took place? I won't be at all surprised if I'm making this harder than it is. Thanks! -Rob |
#3
| |||
| |||
|
|
In article <1164489640.958274.157950 (AT) 14g2000cws (DOT) googlegroups.com>, robdsteward (AT) gmail (DOT) com wrote: Hello, FileMaker n00b here. I searched Google Groups for an answer to this, but couldn't find one. I'm developing an event management database. It has an Attendee table, a Registration table and an Event table. When an Attendee purchases a Registration for an Event, the relationships and portals are set up so that you can look at an Attendee and see his Event history. Likewise, looking at an Event, you can see all that Event's Attendees. (The Registration table is the "go between" in this many-to-many relationship.) What I need to do is determine, in a calculation, the city where an Attendee most recently attended an Event. I can easily get the most recent event *date* with Max(Event::EventDate)... but how do I then "get at" the city where that most recent Event took place? I won't be at all surprised if I'm making this harder than it is. Thanks! -Rob One way (there may be others): Do a Find for the events which that person attended, sort the found set by date, go to the most recent (either first or last, depending on the Sort order), and get the city. |
#4
| |||
| |||
|
|
Hello, FileMaker n00b here. I searched Google Groups for an answer to this, but couldn't find one. I'm developing an event management database. It has an Attendee table, a Registration table and an Event table. When an Attendee purchases a Registration for an Event, the relationships and portals are set up so that you can look at an Attendee and see his Event history. Likewise, looking at an Event, you can see all that Event's Attendees. (The Registration table is the "go between" in this many-to-many relationship.) What I need to do is determine, in a calculation, the city where an Attendee most recently attended an Event. I can easily get the most recent event *date* with Max(Event::EventDate)... but how do I then "get at" the city where that most recent Event took place? I won't be at all surprised if I'm making this harder than it is. Thanks! -Rob |
#5
| |||
| |||
|
|
Bill wrote: In article <1164489640.958274.157950 (AT) 14g2000cws (DOT) googlegroups.com>, robdsteward (AT) gmail (DOT) com wrote: Hello, FileMaker n00b here. I searched Google Groups for an answer to this, but couldn't find one. I'm developing an event management database. It has an Attendee table, a Registration table and an Event table. When an Attendee purchases a Registration for an Event, the relationships and portals are set up so that you can look at an Attendee and see his Event history. Likewise, looking at an Event, you can see all that Event's Attendees. (The Registration table is the "go between" in this many-to-many relationship.) What I need to do is determine, in a calculation, the city where an Attendee most recently attended an Event. I can easily get the most recent event *date* with Max(Event::EventDate)... but how do I then "get at" the city where that most recent Event took place? I won't be at all surprised if I'm making this harder than it is. Thanks! -Rob One way (there may be others): Do a Find for the events which that person attended, sort the found set by date, go to the most recent (either first or last, depending on the Sort order), and get the city. Please correct me if I'm wrong, but that cannot be done in a calculation, can it? Thanks, -Rob |
#6
| |||
| |||
|
|
Hello, FileMaker n00b here. I searched Google Groups for an answer to this, but couldn't find one. I'm developing an event management database. It has an Attendee table, a Registration table and an Event table. When an Attendee purchases a Registration for an Event, the relationships and portals are set up so that you can look at an Attendee and see his Event history. Likewise, looking at an Event, you can see all that Event's Attendees. (The Registration table is the "go between" in this many-to-many relationship.) What I need to do is determine, in a calculation, the city where an Attendee most recently attended an Event. I can easily get the most recent event *date* with Max(Event::EventDate)... but how do I then "get at" the city where that most recent Event took place? I won't be at all surprised if I'm making this harder than it is. |
![]() |
| Thread Tools | |
| Display Modes | |
| |