Background: I have an accounting system that supports inventory and sales-order(not an Access application)that was designed around an inventory record key that has to be user friendly, i.e. the "key" to the records has to consist of characters that a human can understand (i.e. a human has to be able to look a the key and understand what it is). This system uses a 30 character max key (which, of course, must be unique). I hate this "key" as I have a unique number for each item (a UPC code)but there is no way around it.<br> <br>Our business sells plants and trees and the sales force thinks of these items in terms of the "botanical name" of the plant and the "size" of the plant in terms of containter size.<br><br>I have built an Access 97 database table that contains all of the items we sell; there are two columns in this table (among others), one is the "botanical name" and the other is the "container size".<br><br>I want to "generate", with some code, a unique record key (30 characters maximum)for each record in the table that incorporates portions of the "botanical name" and the entire "size".<br><br>The following is a representation of the data:<br><br> Botanical name size<br><br>Cercis Canadensis mexicana 5 Gal.<br>Cercis Canadensis mexicana 5 Gal. MRV<br>Caesalpina pulcherrima 'phoenix' 1 Gal.<br>Caesalpina pulcherrima 'Sunbird' 1 Gal.<br>Caesalpina pulcherrima 'Sunbird' 15 Gal.<br>Caladium bicolor 1 Gal. STK<br>caladium bicolor 2 Gal. <br>Asparagus retrofractus 5 Gal. <br>Cupressus arizonica galbra 24" BOX<br>Cupressus Arizonica galbra 36" BOX<br>Datura versicolor 3 Gal. PRM <br>Ficus microcarpa nitida 24" BOX STD<br>Ficus microcarpa nitida 24" BOX MLT<br>Hibiscus rosa-sinensis 'brilliant'(san diego) 5 Gal.<br>Hibiscus rosa-sinensis 'brilliant' (san diego) 15 Gal. MPT <br>Hibiscus rosa-sinensis 'butterball' 5 Gal. PT<br><br>I have over three thousand items and so don't wish to undertake this manually unless it is impossible otherwise. The "key" has to contain all of the "size" characters(without spaces) and whatever number of characters that are left over from the "botanical" name field, for example, taking the last item, the constructed key might appear as : <br><br>Hibiscusrosa-s'butterb5Gal.PT <br><br>the Ficus might appear as:<br> <br>Ficusmicrocarpanitida24"BOXMLT<br><br>I would like this constructed key to end up in another column in the table if possible. Does anyone have any ideas ?