merging found sets????

Ask a Question related to FileMaker, Design and Development.

  1. #1

    Default merging found sets????

    Hi all

    I'm hoping you can help out...

    I've got 2 databases - each containg list of people going to various
    events

    one database is members of the club, the second is of their guests
    info

    I want to do a search based on the event number, held against each,
    and return a list of all members and guests who are booked to come on
    that event, and print it out

    obviously doing a search on each database and creating a nice layout
    in each database seperately is easy, but what I really want to do is
    combine the 2 found sets into a single page for printing

    and because the returning lists are going to vary in length portals
    dont seem to help

    the only way I can think of doing this is a rather long winded export
    and reimport sort of solution, and there MUST be an easier way that
    I'm missing

    any ideas?

    jackdaw
    jackdaw Guest

  2. Similar Questions and Discussions

    1. Merging PDF
      Hi everybody! I would like you to help me with this ... I have a site (.NET) where I show a list of separated PDF files. What I want to do, is to...
    2. Converting between character sets
      If I have a column with the word Dürer in it can I use the Convert function to convert it to Durer by down-shifting into a 7 bit character set?! --...
    3. Why did Photoshop CS quit suddenly in the middle of making sets? Action sets
      G4/450/dual/OSX33/1gigRAM/45gigHD/Photoshop CS Does anyone know why Photoshop CS quit suddenly in the middle of making Action sets, saying I had...
    4. CS quit suddenly in the middle of making Action sets Action sets,
      G4/450/dual/OSX33/1gigRAM/45gigHD/Photoshop CS Does anyone know why Photoshop CS quit suddenly in the middle of making Action sets, saying I had...
    5. two sets of javascript?
      mello: I would need to see the code to comment. -- Murray --- ICQ 71997575 Team Macromedia Volunteer for Dreamweaver MX (If you *MUST* email...
  3. #2

    Default Re: merging found sets????

    I think that reoganising your data could help.
    Put all people in 1 database (extra field to identify member/guest)
    Put all Events in another db
    Create a new db where you link event to people.
    hope this helps
    [email]Rob@infortica.be[/email]

    "jackdaw" <yak@globalnet.co.uk> wrote in message
    news:kic5nvcu4lu06fbpriibg8ivq5fv950g4q@4ax.com...
    > Hi all
    >
    > I'm hoping you can help out...
    >
    > I've got 2 databases - each containg list of people going to various
    > events
    >
    > one database is members of the club, the second is of their guests
    > info
    >
    > I want to do a search based on the event number, held against each,
    > and return a list of all members and guests who are booked to come on
    > that event, and print it out
    >
    > obviously doing a search on each database and creating a nice layout
    > in each database seperately is easy, but what I really want to do is
    > combine the 2 found sets into a single page for printing
    >
    > and because the returning lists are going to vary in length portals
    > dont seem to help
    >
    > the only way I can think of doing this is a rather long winded export
    > and reimport sort of solution, and there MUST be an easier way that
    > I'm missing
    >
    > any ideas?
    >
    > jackdaw

    test@test.text Guest

  4. #3

    Default Re: merging found sets????

    The first best way of doing this would probably be to have a third file
    import from both and then print the combined report.

    The portal won't work unless you're okay with guests being sorted with
    their hosts. But if everyone is supposed to be in alphabetical order
    mixed in with each other, then a portal won't work.

    jackdaw wrote:
    > Hi all
    >
    > I'm hoping you can help out...
    >
    > I've got 2 databases - each containg list of people going to various
    > events
    >
    > one database is members of the club, the second is of their guests
    > info
    >
    > I want to do a search based on the event number, held against each,
    > and return a list of all members and guests who are booked to come on
    > that event, and print it out
    >
    > obviously doing a search on each database and creating a nice layout
    > in each database seperately is easy, but what I really want to do is
    > combine the 2 found sets into a single page for printing
    >
    > and because the returning lists are going to vary in length portals
    > dont seem to help
    >
    > the only way I can think of doing this is a rather long winded export
    > and reimport sort of solution, and there MUST be an easier way that
    > I'm missing
    >
    > any ideas?
    >
    > jackdaw
    --
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Howard Schlossberg (818) 883-2846
    FM Pro Solutions Los Angeles, California
    Associate Member, FileMaker Solutions Alliance

    Howard Schlossberg Guest

  5. #4

    Default Re: merging found sets????

    On Thu, 25 Sep 2003 08:26:05 -0700, Howard Schlossberg
    <howard@antispahm.fmprosolutions.com> wrote:
    >The first best way of doing this would probably be to have a third file
    >import from both and then print the combined report.
    >
    >The portal won't work unless you're okay with guests being sorted with
    >their hosts. But if everyone is supposed to be in alphabetical order
    >mixed in with each other, then a portal won't work.
    >
    so an in-elligant export + reimport seems to be the way to go with
    this

    thanks guys
    jackdaw Guest

  6. #5

    Default Re: merging found sets????

    Rob is probably correct, you should have one database for all people, with
    fields to identify what kind of people they are. One field for member or
    guest, and possibly another field for guest records to hold the ID of the
    member they are associated with.

    One way to do this with separate databases as you describe could be to use
    conditional value lists to assemble the names based upon the event. In the
    members database, create two relationships based upon the event field on
    both sides, one to the members database (self-relationship) and then one to
    the guests database. Now create two value lists (named "Members" and
    "Guests") in the members database that use values from the name field, using
    one of the two relationships you just created as filters as appropriate.
    You can then create an unstored calculation field to massage these lists
    into the format you desire. Something like this could work for you:

    Attendees (calculation, text) = "Members: " & Substitute ( ValueListItems
    ( Status ( CurrentFileName ), "Members"), "¶", ", ") & "¶¶Guests: " &
    Substitute ( ValueListItems ( Status ( CurrentFileName ), "Guests", ", ")

    "jackdaw" <yak@globalnet.co.uk> wrote in message
    news:kic5nvcu4lu06fbpriibg8ivq5fv950g4q@4ax.com...
    > Hi all
    >
    > I'm hoping you can help out...
    >
    > I've got 2 databases - each containg list of people going to various
    > events
    >
    > one database is members of the club, the second is of their guests
    > info
    >
    > I want to do a search based on the event number, held against each,
    > and return a list of all members and guests who are booked to come on
    > that event, and print it out
    >
    > obviously doing a search on each database and creating a nice layout
    > in each database seperately is easy, but what I really want to do is
    > combine the 2 found sets into a single page for printing
    >
    > and because the returning lists are going to vary in length portals
    > dont seem to help
    >
    > the only way I can think of doing this is a rather long winded export
    > and reimport sort of solution, and there MUST be an easier way that
    > I'm missing
    >
    > any ideas?
    >
    > jackdaw

    Glenn Schwandt Guest

  7. #6

    Default Re: merging found sets????

    On Thu, 25 Sep 2003 10:55:47 -0500, "Glenn Schwandt"
    <schwandtgat@aoldot.com> wrote:
    >Rob is probably correct, you should have one database for all people, with
    >fields to identify what kind of people they are. One field for member or
    >guest, and possibly another field for guest records to hold the ID of the
    >member they are associated with.
    >
    >One way to do this with separate databases as you describe could be to use
    >conditional value lists to assemble the names based upon the event. In the
    >members database, create two relationships based upon the event field on
    >both sides, one to the members database (self-relationship) and then one to
    >the guests database. Now create two value lists (named "Members" and
    >"Guests") in the members database that use values from the name field, using
    >one of the two relationships you just created as filters as appropriate.
    >You can then create an unstored calculation field to massage these lists
    >into the format you desire. Something like this could work for you:
    >
    >Attendees (calculation, text) = "Members: " & Substitute ( ValueListItems
    >( Status ( CurrentFileName ), "Members"), "¶", ", ") & "¶¶Guests: " &
    >Substitute ( ValueListItems ( Status ( CurrentFileName ), "Guests", ", ")

    yeah, sorry, the solution is actually a tad more complex than I may
    have intimated

    the whole solution uses about 12 databases to hold various sets of
    abstract data, which are linked by varying common fields, but each
    database has it's own functions, so there is good reasons for all the
    separation - honest ;)

    there is a database that holds the list of member ref numbers booked
    onto an event (again held by ref number only) and there is a seperate
    database of member details, as well as another one for guests (and
    several more beyond that :) )

    so what I do is search the database which is holding the bookings
    based on the event number, and use the found member numbers to do
    related database finds for the members details held in another
    database - which is all fine

    there is another database that contains the guests (the reason for
    having 2 sperate databases holding this info was to make the
    booking/cancellation and other functions less complicated to code)

    I can then search this second database, again based on event number,
    and get the guest details directly

    what I really wanted to do was have a solution that was like portals
    to do this, but the problem with using portals is that they are set to
    a fixed number of rows at creation, and also cant do the relational
    lookup stuff I need

    it's beginning to look like I either have to write an export/import
    routine for this, or else rethink how some of the data is held

    thanks for all the feedback guys

    jackdaw
    jackdaw Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139