May I add that it wouldn't matter if some fields are present or not on different records, that can be easily handled.
The four main things I would consider are:
1. Do we have all the field names that could ever be present?
2. The maximum number of citations.
3. If the first word of any text is the same as the field. I.e.
Code:
Database <----Field
Database is part of .... <----Text
4. Is there always going to be a field name followed by its corresponding text? You don't want to import data for a field that it shouldn't belong to.
Why do you need the Field "Citation" in the Database Table? Surely that is only necessary for the email in that it indicates the different blocks of text. It will not be necessary in the database Table?
May I add that it wouldn't matter if some fields are present or not on different records, that can be easily handled.
The four main things I would consider are:
1. Do we have all the field names that could ever be present?
2. The maximum number of citations.
3. If the first word of any text is the same as the field. I.e.
Code:
Database <----Field
Database is part of .... <----Text
4. Is there always going to be a field name followed by its corresponding text? You don't want to import data for a field that it shouldn't belong to.
1. Do we have all the field names that could ever be present?
These are all fields:
Citation
Database
Author
Title
Source
Abstract
Language
Publication Type
2. The maximum number of citations.
I don't know, but probably no more 200. In my opinion I don't think it's matter. Loop will go through the end anyway, right
3. If the first word of any text is the same as the field. I.e.
No. it's starts with the text
Why do you need the Field "Citation" in the Database Table? Surely that is only necessary for the email in that it indicates the different blocks of text. It will not be necessary in the database Table?
2. The maximum number of citations.
I don't know, but probably no more 200. In my opinion I don't think it's matter. Loop will go through the end anyway, right
I like your strategy! I wouldn’t event guess to go this direction. I just ran it with the real data, you right, it did find same words in text on some locations. Thank you anyway for your hard work! What if we make it easy. I just want give user at list one option, otherwise they can continue copy paste. What if we’ll make 2 fields: Citation# and Citation_Data. It will look like this. Citation# ----- Citation_Data 1-----------------(insert whole Citation1) 2-----------------(insert whole Citation2) 3-----------------(insert whole Citation3)
Thank you for pointing this out! I did look and found that some citation has “s” some not. That is another reason it will not work. I need talk to users, because before start this project I asked them all labels (fields) in citation are consistent and structure is same. They told me “Yes”