![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
WIN xp FMP8 Adv I have two lists (which are actualy textfiles at the moment) one containes surnames the other containes prefixes of surnames (like: van, der, o', vander, mac, mc) I want to combine these lists into seperate tables, which can be added to and altered when needed. Then I want to compare the surname list to the prefixes list and take away any prefixes from the surname list. There might be over 10000 records in the surnamestable and about 50 records in the prefixes table. So having entered a surname of O'Mally, and O' being in the prefixes list, the result for this record should be Mally. I have been twisting my mind how to connect these two table an d try to come up with some calculation. But failed. Is a scripted loop the only (SLOW) option? -- Keep Well, Ursus |
#3
| |||
| |||
|
|
WIN xp FMP8 Adv I have two lists (which are actualy textfiles at the moment) one containes surnames the other containes prefixes of surnames (like: van, der, o', vander, mac, mc) I want to combine these lists into seperate tables, which can be added to and altered when needed. Then I want to compare the surname list to the prefixes list and take away any prefixes from the surname list. There might be over 10000 records in the surnamestable and about 50 records in the prefixes table. So having entered a surname of O'Mally, and O' being in the prefixes list, the result for this record should be Mally. I have been twisting my mind how to connect these two table an d try to come up with some calculation. But failed. Is a scripted loop the only (SLOW) option? -- Keep Well, Ursus |
#4
| |||
| |||
|
|
WIN xp FMP8 Adv I have two lists (which are actualy textfiles at the moment) one containes surnames the other containes prefixes of surnames (like: van, der, o', vander, mac, mc) I want to combine these lists into seperate tables, which can be added to and altered when needed. Then I want to compare the surname list to the prefixes list and take away any prefixes from the surname list. There might be over 10000 records in the surnamestable and about 50 records in the prefixes table. So having entered a surname of O'Mally, and O' being in the prefixes list, the result for this record should be Mally. I have been twisting my mind how to connect these two table an d try to come up with some calculation. But failed. Is a scripted loop the only (SLOW) option? -- Keep Well, Ursus |
#5
| |||
| |||
|
|
Ursus, If I understand correctly, you have two tables: Prefixes ======== van der o' vander mac mc CompleteSurnames ================ O'Mally MacNichols McDonald Smith VanDerHoff |
#6
| |||
| |||
|
|
Thanks Bill But I am not there quite yet. You have understood correctly about the two tables. But I want the name van Meter to return only Meter. And the name Vanmeter To return Vanmeter And to complicate things even further O'Mally should return Mally, but it has no space between the prefix and the suffix. (But this is not very important to solve) Ursus "Bill Marriott" <wjm (AT) wjm (DOT) org> schreef in bericht news:FdudnQFIwNGnAg3eRVn-rQ (AT) comcast (DOT) com... Ursus, If I understand correctly, you have two tables: Prefixes ======== van der o' vander mac mc CompleteSurnames ================ O'Mally MacNichols McDonald Smith VanDerHoff |
#7
| |||
| |||
|
|
Thanks Bill But I am not there quite yet. You have understood correctly about the two tables. But I want the name van Meter to return only Meter. And the name Vanmeter To return Vanmeter And to complicate things even further O'Mally should return Mally, but it has no space between the prefix and the suffix. (But this is not very important to solve) Ursus "Bill Marriott" <wjm (AT) wjm (DOT) org> schreef in bericht news:FdudnQFIwNGnAg3eRVn-rQ (AT) comcast (DOT) com... Ursus, If I understand correctly, you have two tables: Prefixes ======== van der o' vander mac mc CompleteSurnames ================ O'Mally MacNichols McDonald Smith VanDerHoff |
#8
| |||
| |||
|
|
Ursus, The method I outlined and sample file I attached will correctly handle the "van Meter" and "Vanmeter" situations. You simply need to specify "van " (with a space) in the prefix table. It even works with the apostrophe in "O'Mally." Download it and give it a try. Bill "ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message news:4391c1b8$0$35257$dbd4d001 (AT) news (DOT) wanadoo.nl... Thanks Bill But I am not there quite yet. You have understood correctly about the two tables. But I want the name van Meter to return only Meter. And the name Vanmeter To return Vanmeter And to complicate things even further O'Mally should return Mally, but it has no space between the prefix and the suffix. (But this is not very important to solve) Ursus "Bill Marriott" <wjm (AT) wjm (DOT) org> schreef in bericht news:FdudnQFIwNGnAg3eRVn-rQ (AT) comcast (DOT) com... Ursus, If I understand correctly, you have two tables: Prefixes ======== van der o' vander mac mc CompleteSurnames ================ O'Mally MacNichols McDonald Smith VanDerHoff |
#9
| |||
| |||
|
|
Ursus, The method I outlined and sample file I attached will correctly handle the "van Meter" and "Vanmeter" situations. You simply need to specify "van " (with a space) in the prefix table. It even works with the apostrophe in "O'Mally." Download it and give it a try. Bill "ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message news:4391c1b8$0$35257$dbd4d001 (AT) news (DOT) wanadoo.nl... Thanks Bill But I am not there quite yet. You have understood correctly about the two tables. But I want the name van Meter to return only Meter. And the name Vanmeter To return Vanmeter And to complicate things even further O'Mally should return Mally, but it has no space between the prefix and the suffix. (But this is not very important to solve) Ursus "Bill Marriott" <wjm (AT) wjm (DOT) org> schreef in bericht news:FdudnQFIwNGnAg3eRVn-rQ (AT) comcast (DOT) com... Ursus, If I understand correctly, you have two tables: Prefixes ======== van der o' vander mac mc CompleteSurnames ================ O'Mally MacNichols McDonald Smith VanDerHoff |
#10
| |||
| |||
|
|
Sorry to ask again Bill, I have found (or rather Remi-Noel has found) an other working solution. But yours is more sleek. There is however still a bug. We have lots of poeple with duble prefixes. So van der Meer is a valid name, which in my solution should result into Meer. I have trioed adding "van der " including the space, but Ido understand it just matches the first connection (being the 'van' bit), returning der Meer as solution. You don't have to wring your neck, but if there is a solution I missed I would like to know. Ursus "Bill Marriott" <wjm (AT) wjm (DOT) org> schreef in bericht news:1dmdndtkrbTiZgzenZ2dnUVZ_v-dnZ2d (AT) comcast (DOT) com... Ursus, The method I outlined and sample file I attached will correctly handle the "van Meter" and "Vanmeter" situations. You simply need to specify "van " (with a space) in the prefix table. It even works with the apostrophe in "O'Mally." Download it and give it a try. Bill "ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message news:4391c1b8$0$35257$dbd4d001 (AT) news (DOT) wanadoo.nl... Thanks Bill But I am not there quite yet. You have understood correctly about the two tables. But I want the name van Meter to return only Meter. And the name Vanmeter To return Vanmeter And to complicate things even further O'Mally should return Mally, but it has no space between the prefix and the suffix. (But this is not very important to solve) Ursus "Bill Marriott" <wjm (AT) wjm (DOT) org> schreef in bericht news:FdudnQFIwNGnAg3eRVn-rQ (AT) comcast (DOT) com... Ursus, If I understand correctly, you have two tables: Prefixes ======== van der o' vander mac mc CompleteSurnames ================ O'Mally MacNichols McDonald Smith VanDerHoff |
![]() |
| Thread Tools | |
| Display Modes | |
| |