Thanks to some complete MORON who obviously doesn't know the basic concepts of database development and implementation, I am in the unfortunate position of having to work around their stupid constructs to try to get useful data into our own internal database. And now for my convoluted description of what I am after...
I am provided (from the MORON-database) a spreadsheet that contains multiple rows of similar data; each row/record represents a different stage in the process of financial transactions (requisition, purchase order, & voucher payment). Each financial transaction has these three records, with the amounts in one of three columns (pre-encumbrance, encumbrance, and expense), depending on the process. What I am really after is the fuller, more detailed description that is apparently only available for the two records I don't want to import into the database (which is tracking only expenses and not the other two stages of the process). There is apparently no way to cross-reference these multiple rows due to the way the original database was designed (and we apparently have no control over this).
After importing the spreadsheet into Access, I would like to match the partial text string (truncated description) to the full description in another record, and update the record with the truncated description to the full description. To make mattes more complicated, I will also have to match values in the "pre-enc" or "enc" field with the "exp" field across these three records to make sure the correct descriptions are being matched because the truncated description will match multiple distinct records with the longer description.
Type Descr PreEnc Enc Exp
VOU Jsmith-Instructor, 12/16/13 $0.00 $0.00 $45.00
PO JSmith-Instructor, 12/16/13, Course1, Parking ($45.00) $0.00 $0.00
REQ JSmith-Instructor, 12/16/13, Course1, Parking $0.00 $45.00 $0.00
VOU Jsmith-Instructor, 12/16/13 $0.00 $0.00 $221.13
PO JSmith-Instructor, 12/16/13, Course1, Lodging ($221.13) $0.00 $0.00
REQ JSmith-Instructor, 12/16/13, Course1, Lodging $0.00 $221.13 $0.00
I know this is a messy situation, so I don't expect a simple solution, if one even exists; my coding skills are not that advanced, however I can typically troubleshoot my way through most situations if I at least know where to start. Any suggestions are much appreciated.
I am provided (from the MORON-database) a spreadsheet that contains multiple rows of similar data; each row/record represents a different stage in the process of financial transactions (requisition, purchase order, & voucher payment). Each financial transaction has these three records, with the amounts in one of three columns (pre-encumbrance, encumbrance, and expense), depending on the process. What I am really after is the fuller, more detailed description that is apparently only available for the two records I don't want to import into the database (which is tracking only expenses and not the other two stages of the process). There is apparently no way to cross-reference these multiple rows due to the way the original database was designed (and we apparently have no control over this).
After importing the spreadsheet into Access, I would like to match the partial text string (truncated description) to the full description in another record, and update the record with the truncated description to the full description. To make mattes more complicated, I will also have to match values in the "pre-enc" or "enc" field with the "exp" field across these three records to make sure the correct descriptions are being matched because the truncated description will match multiple distinct records with the longer description.
Type Descr PreEnc Enc Exp
VOU Jsmith-Instructor, 12/16/13 $0.00 $0.00 $45.00
PO JSmith-Instructor, 12/16/13, Course1, Parking ($45.00) $0.00 $0.00
REQ JSmith-Instructor, 12/16/13, Course1, Parking $0.00 $45.00 $0.00
VOU Jsmith-Instructor, 12/16/13 $0.00 $0.00 $221.13
PO JSmith-Instructor, 12/16/13, Course1, Lodging ($221.13) $0.00 $0.00
REQ JSmith-Instructor, 12/16/13, Course1, Lodging $0.00 $221.13 $0.00
I know this is a messy situation, so I don't expect a simple solution, if one even exists; my coding skills are not that advanced, however I can typically troubleshoot my way through most situations if I at least know where to start. Any suggestions are much appreciated.