![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am using FileMaker 5.5 for Mac OS. I have a question regarding relationships. Database 1 Col_1 Col_2 123 10 123 20 123 30 456 10 456 20 456 30 Database 2 Col_1 Col_2 Col_3 123 10 123-10 123 20 123-20 123 30 123-30 456 10 456-10 456 20 456-20 456 30 456-30 I am converting my current accounting system. In the process I need to change my account numbers. The first database is the structure of the old accounting system. Column 1 is the account number, and column 2 is the department. The second database is the structure for the new accounting system. Column 1 is the old acct number, column 2 is the old department number, and column 3 is the new account number structure. It appears I can only relate one column to one column. But, I want to relate column 1 of each database and column 2 of each database to get the new result of column 3 from the second database. How would I accomplish this with FileMaker 5.5? Thanks for any help you can offer me. Jeff |
#3
| |||
| |||
|
|
Jeff, You could add a calculation field to "Database 1" as follows: Col_1 & "-" & Col_2 (text result) Which will enable you to relate now with Col_3 in "Database 2" |
|
Bill (Note: when posting to newsgroups, try to make your subject unique. Your post was buried in a discussion thread from March 2004 because it matched a previous subject line.) |
|
"Jeff Grossman" <jeff.nospam (AT) stikman (DOT) com> wrote in message news:gh3e73xth3.ln2 (AT) stikman (DOT) com... I am using FileMaker 5.5 for Mac OS. I have a question regarding relationships. Database 1 Col_1 Col_2 123 10 123 20 123 30 456 10 456 20 456 30 Database 2 Col_1 Col_2 Col_3 123 10 123-10 123 20 123-20 123 30 123-30 456 10 456-10 456 20 456-20 456 30 456-30 I am converting my current accounting system. In the process I need to change my account numbers. The first database is the structure of the old accounting system. Column 1 is the account number, and column 2 is the department. The second database is the structure for the new accounting system. Column 1 is the old acct number, column 2 is the old department number, and column 3 is the new account number structure. It appears I can only relate one column to one column. But, I want to relate column 1 of each database and column 2 of each database to get the new result of column 3 from the second database. How would I accomplish this with FileMaker 5.5? Thanks for any help you can offer me. Jeff |
#4
| |||
| |||
|
|
Bill Marriott <wjm (AT) wjm (DOT) org> wrote: Jeff, You could add a calculation field to "Database 1" as follows: Col_1 & "-" & Col_2 (text result) Which will enable you to relate now with Col_3 in "Database 2" That won't quite work for me. I tried to be over simplistic in my example. Hopefully I can be a bit more clear. Database 1 Column 1 Column 2 Column 3 000-123-10 10 Lookup col_3 in database 2 000-123-10 20 Lookup col_3 in database 2 000-123-10 30 Lookup col_3 in database 2 000-456-10 10 Lookup col_3 in database 2 000-456-10 20 Lookup col_3 in database 2 000-456-10 30 Lookup col_3 in database 2 Database 2 Column 1 Column 2 Column 3 000-123-10 10 1231-10 000-123-10 20 1231-20 000-123-10 30 1231-30 000-456-10 10 4561-10 000-456-10 20 4561-20 000-456-10 30 4561-30 Database 2 has my old structure and my new structure. In database 1 is all of my data that I need to import into the new accounting system. But, I need to replace the old acct_num and dept setup with the new acct_num which has both combined, plus some characters removed. I do not know how I can relate the two databases together. I guess I might just need to do a calculation in database 1 instead of trying to relate to a second database for the information. I thought doing the relation would have been easier. Bill (Note: when posting to newsgroups, try to make your subject unique. Your post was buried in a discussion thread from March 2004 because it matched a previous subject line.) That seems pretty weird. I guess your newsreader does not use the references header to figure out threading. "Jeff Grossman" <jeff.nospam (AT) stikman (DOT) com> wrote in message news:gh3e73xth3.ln2 (AT) stikman (DOT) com... I am using FileMaker 5.5 for Mac OS. I have a question regarding relationships. Database 1 Col_1 Col_2 123 10 123 20 123 30 456 10 456 20 456 30 Database 2 Col_1 Col_2 Col_3 123 10 123-10 123 20 123-20 123 30 123-30 456 10 456-10 456 20 456-20 456 30 456-30 I am converting my current accounting system. In the process I need to change my account numbers. The first database is the structure of the old accounting system. Column 1 is the account number, and column 2 is the department. The second database is the structure for the new accounting system. Column 1 is the old acct number, column 2 is the old department number, and column 3 is the new account number structure. It appears I can only relate one column to one column. But, I want to relate column 1 of each database and column 2 of each database to get the new result of column 3 from the second database. How would I accomplish this with FileMaker 5.5? Thanks for any help you can offer me. Jeff |
#5
| |||
| |||
|
|
I guess I'm still confused. According to what you described both tables should contain exactly the same info in all three columns. Or is it that you can't get the lookup to work? Correct, I can't get the lookup to work, because I need col_1 and Col_2 |
|
If your goal is to eliminate Database 1, then couldn't you just import, using the "update matching records" option? In either case, since the old sequence numbers and new sequence numbers follow a pattern, it is easy to calculate one from the other. All you need is an identical field in both tables to relate them. Bill "Jeff Grossman" <jeff.nospam (AT) stikman (DOT) com> wrote in message news:cl8e73xun3.ln2 (AT) stikman (DOT) com... Bill Marriott <wjm (AT) wjm (DOT) org> wrote: Jeff, You could add a calculation field to "Database 1" as follows: Col_1 & "-" & Col_2 (text result) Which will enable you to relate now with Col_3 in "Database 2" That won't quite work for me. I tried to be over simplistic in my example. Hopefully I can be a bit more clear. Database 1 Column 1 Column 2 Column 3 000-123-10 10 Lookup col_3 in database 2 000-123-10 20 Lookup col_3 in database 2 000-123-10 30 Lookup col_3 in database 2 000-456-10 10 Lookup col_3 in database 2 000-456-10 20 Lookup col_3 in database 2 000-456-10 30 Lookup col_3 in database 2 Database 2 Column 1 Column 2 Column 3 000-123-10 10 1231-10 000-123-10 20 1231-20 000-123-10 30 1231-30 000-456-10 10 4561-10 000-456-10 20 4561-20 000-456-10 30 4561-30 Database 2 has my old structure and my new structure. In database 1 is all of my data that I need to import into the new accounting system. But, I need to replace the old acct_num and dept setup with the new acct_num which has both combined, plus some characters removed. I do not know how I can relate the two databases together. I guess I might just need to do a calculation in database 1 instead of trying to relate to a second database for the information. I thought doing the relation would have been easier. Bill (Note: when posting to newsgroups, try to make your subject unique. Your post was buried in a discussion thread from March 2004 because it matched a previous subject line.) That seems pretty weird. I guess your newsreader does not use the references header to figure out threading. "Jeff Grossman" <jeff.nospam (AT) stikman (DOT) com> wrote in message news:gh3e73xth3.ln2 (AT) stikman (DOT) com... I am using FileMaker 5.5 for Mac OS. I have a question regarding relationships. Database 1 Col_1 Col_2 123 10 123 20 123 30 456 10 456 20 456 30 Database 2 Col_1 Col_2 Col_3 123 10 123-10 123 20 123-20 123 30 123-30 456 10 456-10 456 20 456-20 456 30 456-30 I am converting my current accounting system. In the process I need to change my account numbers. The first database is the structure of the old accounting system. Column 1 is the account number, and column 2 is the department. The second database is the structure for the new accounting system. Column 1 is the old acct number, column 2 is the old department number, and column 3 is the new account number structure. It appears I can only relate one column to one column. But, I want to relate column 1 of each database and column 2 of each database to get the new result of column 3 from the second database. How would I accomplish this with FileMaker 5.5? Thanks for any help you can offer me. Jeff |
#6
| |||
| |||
|
|
Bill Marriott <wjm (AT) wjm (DOT) org> wrote: I guess I'm still confused. According to what you described both tables should contain exactly the same info in all three columns. Or is it that you can't get the lookup to work? Correct, I can't get the lookup to work, because I need col_1 and Col_2 from both database to relate to each other. The only unique part is col_1 and col_2 put together. Col_1 has many duplicate items in each database. But, when you add col_2 to that, then they become unique. But, it appears I can't have two relationships to figure out the correct record I want in database 2. I will have to figure out another way. Thanks for the help. Jeff If your goal is to eliminate Database 1, then couldn't you just import, using the "update matching records" option? In either case, since the old sequence numbers and new sequence numbers follow a pattern, it is easy to calculate one from the other. All you need is an identical field in both tables to relate them. Bill "Jeff Grossman" <jeff.nospam (AT) stikman (DOT) com> wrote in message news:cl8e73xun3.ln2 (AT) stikman (DOT) com... Bill Marriott <wjm (AT) wjm (DOT) org> wrote: Jeff, You could add a calculation field to "Database 1" as follows: Col_1 & "-" & Col_2 (text result) Which will enable you to relate now with Col_3 in "Database 2" That won't quite work for me. I tried to be over simplistic in my example. Hopefully I can be a bit more clear. Database 1 Column 1 Column 2 Column 3 000-123-10 10 Lookup col_3 in database 2 000-123-10 20 Lookup col_3 in database 2 000-123-10 30 Lookup col_3 in database 2 000-456-10 10 Lookup col_3 in database 2 000-456-10 20 Lookup col_3 in database 2 000-456-10 30 Lookup col_3 in database 2 Database 2 Column 1 Column 2 Column 3 000-123-10 10 1231-10 000-123-10 20 1231-20 000-123-10 30 1231-30 000-456-10 10 4561-10 000-456-10 20 4561-20 000-456-10 30 4561-30 Database 2 has my old structure and my new structure. In database 1 is all of my data that I need to import into the new accounting system. But, I need to replace the old acct_num and dept setup with the new acct_num which has both combined, plus some characters removed. I do not know how I can relate the two databases together. I guess I might just need to do a calculation in database 1 instead of trying to relate to a second database for the information. I thought doing the relation would have been easier. Bill (Note: when posting to newsgroups, try to make your subject unique. Your post was buried in a discussion thread from March 2004 because it matched a previous subject line.) That seems pretty weird. I guess your newsreader does not use the references header to figure out threading. "Jeff Grossman" <jeff.nospam (AT) stikman (DOT) com> wrote in message news:gh3e73xth3.ln2 (AT) stikman (DOT) com... I am using FileMaker 5.5 for Mac OS. I have a question regarding relationships. Database 1 Col_1 Col_2 123 10 123 20 123 30 456 10 456 20 456 30 Database 2 Col_1 Col_2 Col_3 123 10 123-10 123 20 123-20 123 30 123-30 456 10 456-10 456 20 456-20 456 30 456-30 I am converting my current accounting system. In the process I need to change my account numbers. The first database is the structure of the old accounting system. Column 1 is the account number, and column 2 is the department. The second database is the structure for the new accounting system. Column 1 is the old acct number, column 2 is the old department number, and column 3 is the new account number structure. It appears I can only relate one column to one column. But, I want to relate column 1 of each database and column 2 of each database to get the new result of column 3 from the second database. How would I accomplish this with FileMaker 5.5? Thanks for any help you can offer me. Jeff |
#7
| |||
| |||
|
|
Jeff, This is kind of going around in circles. As you are stuck in FileMaker 6, you need a single key field to use as the basis of a lookup. (FileMaker 7 and 8 would let you define multiple criteria, the two fields you want.) Therefore, combine field 1 and 2 with a calculation to create the unique field you need. Why wouldn't this work? |
#8
| |||
| |||
|
|
Bill Marriott <wjm (AT) wjm (DOT) org> wrote: Jeff, This is kind of going around in circles. As you are stuck in FileMaker 6, you need a single key field to use as the basis of a lookup. (FileMaker 7 and 8 would let you define multiple criteria, the two fields you want.) Therefore, combine field 1 and 2 with a calculation to create the unique field you need. Why wouldn't this work? Thanks for the information. I will see what I can make work. I guess the main issue I have is that in FileMaker 6 I can only have one key field for the relationship. Jeff |
#9
| |||
| |||
|
|
Bill Marriott <wjm (AT) wjm (DOT) org> wrote: Jeff, This is kind of going around in circles. As you are stuck in FileMaker 6, you need a single key field to use as the basis of a lookup. (FileMaker 7 and 8 would let you define multiple criteria, the two fields you want.) Therefore, combine field 1 and 2 with a calculation to create the unique field you need. Why wouldn't this work? Thanks for the information. I will see what I can make work. I guess the main issue I have is that in FileMaker 6 I can only have one key field for the relationship. |
#10
| ||||
| ||||
|
|
Couldn't we talk of something else, now ? |
|
Database 1 Column 1 Column 2 Column 3 000-123-10 10 Lookup col_3 in database 2 000-123-10 20 Lookup col_3 in database 2 000-123-10 30 Lookup col_3 in database 2 000-456-10 10 Lookup col_3 in database 2 000-456-10 20 Lookup col_3 in database 2 000-456-10 30 Lookup col_3 in database 2 Database 2 Column 1 Column 2 Column 3 000-123-10 10 1231-10 000-123-10 20 1231-20 000-123-10 30 1231-30 000-456-10 10 4561-10 000-456-10 20 4561-20 000-456-10 30 4561-30 |
|
Database 2 has my old structure and my new structure. In database 1 is all of my data that I need to import into the new accounting system. But, I need to replace the old acct_num and dept setup with the new acct_num which has both combined, plus some characters removed. I do not know how I can relate the two databases together. |
|
I guess I might just need to do a calculation in database 1 instead of trying to relate to a second database for the information. I thought doing the relation would have been easier. |
![]() |
| Thread Tools | |
| Display Modes | |
| |