Eliminating duplicate memo fields must be done !!! 
Author Message
 Eliminating duplicate memo fields must be done !!!

I have to code a method to find and delete all but one of any
duplicate memo fields found in a very large dB.
After an extensive search, I've come to the conclusion that I must
first truncate all of the Memo fields into text fields of 255 or
less, the do the compare and delete based on the total record of all
of the text fields.
I would then have to concatenate the final unique record text fields
back into a memo field.

This is probably easy to some of you, but I don't have a clue how to
do several parts of this.

1. Using the "Left" to parse, I can set the criteria to 255 caracters.
How do I then cause those caracters to become "Text Field 0001" in the
same record?

2. When I get that done, I can use the "Mid" to parse the second 255
caracters. Then I have the same problem. How do I cause those
caracters to become "Text Field 0002" in the same record?

3. When the final caracters remaining are say, only 143 caracters, how
do I cause just those last caracters to become Text Field 0107, (or
what ever), and then start the comparison process with however many
text fields I ended up with?

This is WAY over my head, but I would love to learn how to do it.
Does anyone know of any existing code that would accomplish
eliminating duplicate memo fields?

TIA
Tim Bankerd



Fri, 16 Apr 2004 02:16:33 GMT  
 Eliminating duplicate memo fields must be done !!!
Is the length of MEMO fields the same?
If not, then I think, you need first to compare lenghts of MEMO-fields and
then to search for repetitiveness among fields with the same length.
You can use at all something like the control sum and then compare fields
with the same control sum.

-------------
Serge Gavrilov
http://accesstools.narod.ru



Quote:
> I have to code a method to find and delete all but one of any
> duplicate memo fields found in a very large dB.
> After an extensive search, I've come to the conclusion that I must
> first truncate all of the Memo fields into text fields of 255 or
> less, the do the compare and delete based on the total record of all
> of the text fields.
> I would then have to concatenate the final unique record text fields
> back into a memo field.

> This is probably easy to some of you, but I don't have a clue how to
> do several parts of this.

> 1. Using the "Left" to parse, I can set the criteria to 255 caracters.
> How do I then cause those caracters to become "Text Field 0001" in the
> same record?

> 2. When I get that done, I can use the "Mid" to parse the second 255
> caracters. Then I have the same problem. How do I cause those
> caracters to become "Text Field 0002" in the same record?

> 3. When the final caracters remaining are say, only 143 caracters, how
> do I cause just those last caracters to become Text Field 0107, (or
> what ever), and then start the comparison process with however many
> text fields I ended up with?

> This is WAY over my head, but I would love to learn how to do it.
> Does anyone know of any existing code that would accomplish
> eliminating duplicate memo fields?

> TIA
> Tim Bankerd



Fri, 16 Apr 2004 20:09:21 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Append memo field to a different memo field

2. Memo fields - problems reporting 2 memo fields

3. I am getting duplicate records, I mean everything is duplicate even Access record number

4. Eliminating duplicate records with abbreviated addresses

5. eliminate duplicates in array?

6. Eliminating Duplicates from Report

7. Eliminating Duplicate Values from Combo Box

8. SQL question to eliminate duplicate names

9. eliminating duplicates in a database table

10. Embed Fields within a memo field

11. HELP: linking txt field with a memo field

12. Displaying MS Access fields over 255 characters (Memo fields)

 

 
Powered by phpBB® Forum Software