
Originally Posted by
ArviLaanemets
It looks for me, you have 2 different tasks here.
1. Creating a database, which allow you to manage part info;
2. Inserting this info into your database as easily as possible.
About database
You need a table like
tblItems: ItemID, ItemCode, InchMet, Des, Fam, Material, Diam, Leng, Fin, ...
, and a form, where you can select an item, display all properties of the item, and do whatever you need with this info.
About reading the part info into your database, it depends how you get this info and how you will insert it.
1. In case you enter this info manually (typing it, or using copy-paste):
You enter the attribute code string into unbound control on form, and then run a procedure (e.g. clicking a button for this), which reads the code string in, splits it and saves splitted info to variables, and then updates form controls with those variables. You can allow the procedure to be called only for new record. In case the procedure is not restricted for existing records, it will update the active record.
2. In case you have attribute code string (and any additional info) stored in some external table (like Excel workbook) which Access can have linked:
You link the external table into your database. Then you create a procedure, which reads row-wise the attribute code, splits it, and checks tblItems for existence of same info there. When the item is new, then the procedure inserts a new row into tblItems and fills it. When the item was present in your database, you can either update the info, or simply skip to next row. As final step, the procedure may clear all (now old) info from linked table.
3. In case the new item info is in any form Access is able to read in (e.g. text or html file, Excel workbook, etc.), you can create a procedure, which asks for import file, reads info from import file into array, processes the read info, and as end result, saves new item info into some array (and in case there is a need for it, saves updating info into another one). After the whole import file is processed, the procedure updates the tblInfo with info from final array(s).