If only one of the columns t1-t4 is populated for each row, then no "overlay" will occur. If more than one column is populated in a given row, then t5 will end up with the value of the last populated column that is processed. So assuming that t1 and t3 have values and the columns are process in the order t1-t4. In that case t5 will end up with the value from t3 for the row with multiples.
I was right
BTW, no one pointed this out so I will -
If SomeField <> ""
Is NOT equivalent to
If IsNull(SomeField)
Pat,
I do remember reading in one of my books about Null, something about being different to a zero string.
But I do know if I have a macro that Setsvalue as and runs down each record being run by another macro
T1 to T5
T2 to T5
T3 to T5
T4 to T5
Then with what he descrined he will have is result.
In practice with names I do copy and paste append to a field I make the first field then an A to Z on that field and then delete
Now Pat here is something you can help with me as I am about to do this today and it takes me a bit of mucking about.
I have a two sbook that are the Legal Directory for Australia and The Medical Directory, will all the doctors and lawyers and their details, I buy it every couple of years. I will use the Medical Directory as the case as that is the one i am doing first.
The book has the doctors names and detail on 1010 pages. What I do is to get someone to extract the names are guidelines which I give them. However, for different reasons I want them to select the pages in random.
What I normally do (which is very tedious) is to put the numbers in one column and have a random field as well. I then sort on the random field. All that is OK and easy, but now for the messy bit.
I want the numbers in lots of columns so as they are all on one page and then the person just goes across each row picking the page number
What I have to do (after deleting the random number field) is I add several fields and then copy an appropriate number from the column with the 1010 records and paste them into Field2 and repeat the process through the various fields so that I have the 1010 spread over several fields. I suppose I could make up some Setvalue macro than ran down say the first 50 and set the value of Field2 and then the next part of the macro did the next 50 and so. I getting tired thinking about
Itsa double barrel problem as I have to do the legal book and all its numbers are completely different.
Any help, ideas, sympathy or whateve
Mike