I currently maintain an Excel spreadsheet that contains fairly static information about some of the drugs used at our clinic. I save this spreadsheet as a csv file and read it into an array. I use the name of the drug as the key, and access the array to pull off manufacturer name, unit price, etc. My users now want to make this table date sensitive. For instance, unit price may change from time to time. The users are envisioning adding two more columns to the table to create an effective date range. Then based on the date that the drug was administered, the unit price, etc would be pulled for that date range. The name of the drug will no longer be unique to the table. Is there a way to make my array date sensitive and still keep the structure and programming fairly intact? Or would a rewrite using lists actually be simpler? My apologies for being so long-winded.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.