Difficult: Flagging to know if a record is in another file

Ask a Question related to FileMaker, Design and Development.

  1. #1

    Default Difficult: Flagging to know if a record is in another file

    I am trying to do the following.

    I have a database which contains a list of address part of a mailing
    list. I have a second database where I have all my contacts those part
    of the mailing list and those note. I want to have a field in the main
    database that tells me whether or not this address is the mailing list
    databse. I have a unique ID given to each record associated with the
    address. I thought I could do a relationship using ID::ID and a
    if(Count(Mailing List::ID) 1, "Yes on list", "No, not on list".
    However in order for this to work the field which contains the ID
    needs to be indexed and I need it to be a calculation.

    Any thoughts????

    Stephen Wallace
    Stephen Wallace Guest

  2. Similar Questions and Discussions

    1. Flagging pages in a secured document
      Hi, Does anyone has a suggestion on how to flag pages in a secure document. I want to be able to look through a 100+ page secure document and...
    2. Bit level flagging
      Hi Folks I'm trying to use a variable as a condition flag and I want to set or clear various bits in the variable as certain conditions occur. ...
    3. Preflight flagging color bars as creating different plates
      I love the new Acrobat preflight feature, but I am having trouble getting it to ignore the color bar placed on the page. When I test a black and...
    4. How difficult it is?
      Ann <fyang7@tom.com> wrote: This might help you out: <http://developer.apple.com/macosx/win32porting/> Also, if you use VisualBasic,...
    5. This can't be that difficult
      That works OK for me. -- Jules ----- Charon Cart 3 http://www.charon.co.uk/charoncart
  3. #2

    Default Difficult: Flagging to know if a record is in another file

    Hello all,

    I am trying to do the following.

    I have a database which contains a list of address part of a mailing
    list. I have a second database where I have all my contacts those part
    of the mailing list and those note. I want to have a field in the main
    database that tells me whether or not this address is the mailing list
    databse. I have a unique ID given to each record associated with the
    address. I thought I could do a relationship using ID::ID and a
    if(Count(Mailing List::ID) 1, "Yes on list", "No, not on list".
    However in order for this to work the field which contains the ID
    needs to be indexed and I need it to be a calculation.

    Any thoughts???? Thanks

    Stephen Wallace


    Stephen M. Wallace Guest

  4. #3

    Default Re: Difficult: Flagging to know if a record is in another file

    Hi Stephen

    A calculation field can be indexed, as long as it doesn't contain a
    reference to a global field, a related field, a summary field, to another
    field that contains a reference to these types of fields, and so on.

    The default storage option lets filemaker decide whether indexing is needed
    or not (it leaves the field unstored until the first time indexing is
    needed, then it turns storage on and leaves it on). If the indexing for a
    field is actually (or accidentally) turned off and you try to set up a
    relationship using that field, you will get a message saying the field
    cannot be indexed so the relationship won't work, even though it could be
    indexed if you turned indexing back on again.

    Bridget Eley



    in article [email]8f6eb723.0307221237.311752cc@posting.google.com[/email], Stephen Wallace
    at [email]stephenmw@mindspring.com[/email] wrote on 23/7/03 6:37 AM:
    > I am trying to do the following.
    >
    > I have a database which contains a list of address part of a mailing
    > list. I have a second database where I have all my contacts those part
    > of the mailing list and those note. I want to have a field in the main
    > database that tells me whether or not this address is the mailing list
    > databse. I have a unique ID given to each record associated with the
    > address. I thought I could do a relationship using ID::ID and a
    > if(Count(Mailing List::ID) 1, "Yes on list", "No, not on list".
    > However in order for this to work the field which contains the ID
    > needs to be indexed and I need it to be a calculation.
    >
    > Any thoughts????
    >
    > Stephen Wallace
    Bridget Eley Guest

  5. #4

    Default Re: Difficult: Flagging to know if a record is in another file

    My thoughts are that you are likely making a mistake with your unique ID
    field. It should be an auto-entered serial number that is not modifiable
    and not visible to the user. It should have absolutely no meaning
    whatsoever, used only to identify that record as unique. If you want
    another "unique ID" field that has meaning, go ahead and create one. First
    four letters of last name & last four digits of phone number & Zip Code (or
    whatever)...just don't use it as the basis of your relationships.

    "Stephen Wallace" <stephenmw@mindspring.com> wrote in message
    news:8f6eb723.0307221237.311752cc@posting.google.c om...
    > I am trying to do the following.
    >
    > I have a database which contains a list of address part of a mailing
    > list. I have a second database where I have all my contacts those part
    > of the mailing list and those note. I want to have a field in the main
    > database that tells me whether or not this address is the mailing list
    > databse. I have a unique ID given to each record associated with the
    > address. I thought I could do a relationship using ID::ID and a
    > if(Count(Mailing List::ID) 1, "Yes on list", "No, not on list".
    > However in order for this to work the field which contains the ID
    > needs to be indexed and I need it to be a calculation.
    >
    > Any thoughts????
    >
    > Stephen Wallace

    Glenn Schwandt Guest

  6. #5

    Default Re: Difficult: Flagging to know if a record is in another file

    My assumption was that the contacts file was the parent and that the mailing
    list file was the child, in which case the ID field in the mailing list
    would be a foreign key and therefore not necessarily unique (although in
    practice it may be unique in the case of a one to one relationship). I
    suppose it could have been set up the opposite way, with the mailing list as
    the parent (some mailing lists only send one item per household, so it is
    conceivable that there could be one address to several contacts). It would
    help if we knew more about how Stephen is establishing the link between a
    contact record and a mailing list address in the first place, including the
    exact calc used.

    Bridget Eley

    in article [email]vhrbjm3pa2f375@corp.supernews.com[/email], Glenn Schwandt at
    [email]schwandtgat@aoldot.com[/email] wrote on 23/7/03 7:36 AM:
    > My thoughts are that you are likely making a mistake with your unique ID
    > field. It should be an auto-entered serial number that is not modifiable
    > and not visible to the user. It should have absolutely no meaning
    > whatsoever, used only to identify that record as unique. If you want
    > another "unique ID" field that has meaning, go ahead and create one. First
    > four letters of last name & last four digits of phone number & Zip Code (or
    > whatever)...just don't use it as the basis of your relationships.
    >
    > "Stephen Wallace" <stephenmw@mindspring.com> wrote in message
    > news:8f6eb723.0307221237.311752cc@posting.google.c om...
    >> I am trying to do the following.
    >>
    >> I have a database which contains a list of address part of a mailing
    >> list. I have a second database where I have all my contacts those part
    >> of the mailing list and those note. I want to have a field in the main
    >> database that tells me whether or not this address is the mailing list
    >> databse. I have a unique ID given to each record associated with the
    >> address. I thought I could do a relationship using ID::ID and a
    >> if(Count(Mailing List::ID) 1, "Yes on list", "No, not on list".
    >> However in order for this to work the field which contains the ID
    >> needs to be indexed and I need it to be a calculation.
    >>
    >> Any thoughts????
    >>
    >> Stephen Wallace
    >
    >
    Bridget Eley Guest

  7. #6

    Default Re: Difficult: Flagging to know if a record is in another file

    in article BB43F212.21C9%bridgeteley@ihug.com.au, Bridget Eley at
    [email]bridgeteley@ihug.com.au[/email] wrote on 7/22/03 6:04 PM:
    > My assumption was that the contacts file was the parent and that the mailing
    > list file was the child, in which case the ID field in the mailing list
    > would be a foreign key and therefore not necessarily unique (although in
    > practice it may be unique in the case of a one to one relationship). I
    > suppose it could have been set up the opposite way, with the mailing list as
    > the parent (some mailing lists only send one item per household, so it is
    > conceivable that there could be one address to several contacts). It would
    > help if we knew more about how Stephen is establishing the link between a
    > contact record and a mailing list address in the first place, including the
    > exact calc used.
    >
    > Bridget Eley
    >
    > in article [email]vhrbjm3pa2f375@corp.supernews.com[/email], Glenn Schwandt at
    > [email]schwandtgat@aoldot.com[/email] wrote on 23/7/03 7:36 AM:
    >
    >> My thoughts are that you are likely making a mistake with your unique ID
    >> field. It should be an auto-entered serial number that is not modifiable
    >> and not visible to the user. It should have absolutely no meaning
    >> whatsoever, used only to identify that record as unique. If you want
    >> another "unique ID" field that has meaning, go ahead and create one. First
    >> four letters of last name & last four digits of phone number & Zip Code (or
    >> whatever)...just don't use it as the basis of your relationships.
    >>
    >> "Stephen Wallace" <stephenmw@mindspring.com> wrote in message
    >> news:8f6eb723.0307221237.311752cc@posting.google.c om...
    >>> I am trying to do the following.
    >>>
    >>> I have a database which contains a list of address part of a mailing
    >>> list. I have a second database where I have all my contacts those part
    >>> of the mailing list and those note. I want to have a field in the main
    >>> database that tells me whether or not this address is the mailing list
    >>> databse. I have a unique ID given to each record associated with the
    >>> address. I thought I could do a relationship using ID::ID and a
    >>> if(Count(Mailing List::ID) 1, "Yes on list", "No, not on list".
    >>> However in order for this to work the field which contains the ID
    >>> needs to be indexed and I need it to be a calculation.
    >>>
    >>> Any thoughts????
    >>>
    >>> Stephen Wallace
    >>
    >>
    >
    Thank you for your input, it is greatly appreciated. I usual have a key that
    doesn't change but for this solution I've done it a little differently. If I
    had to do over again, I probably would have organized it a little better.
    Thanks for the input again.

    Stephen

    Stephen M. Wallace 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