My fields are PC_AdobeAcrobatVersion,
PC_AdobeAcrobatDatePurchased,
PC_AdobeAcrobatAmountPurchased,
PC_AdobeAcrobatAmountCost, PC_AdobeAcrobatType,
PC_AdobeAcrobatComment. For all 20 software purchased we
have so far. The reason I have all the information
together is They want to know how much money was spent
between what dates and version of what software and where
it is located, how many has been loaded and where. They
want all the information in One Report. I really can't
split the tables up because of time constrants I have a
deadline. Please Help. Thanks a Bunch. : - )
There's an old Ozark saying: "If you cain't take time to do it right,
you'll have to take the time to fix it up".
Storing data in fieldnames IS SIMPLY NOT GOING TO WORK. It can be made
to work, sort of, with a great deal of effort; but you would be MUCH
better off to take the time to split your data into three tables: your
current table (less all the software specific fields); a 20-row table
of programs; and a table
SoftwareInstalled
Program << link to the Programs table
Version
DatePurchased
AmountPurchased
Cost
Type
Comment
You can use a "Normalizing Union Query" to migrate the data from your
current spreadsheet (I can't in good conscience call it a table):
SELECT "Adobe Acrobat" AS Program, PC_AdobeAcrobatVersion AS Version,
PC_AdobeAcrobatDatePurchased AS DatePurchased,
PC_AdobeAcrobatAmountPurchased AS AmountPurchased,
PC_AdobeAcrobatAmountCost AS Cost, PC_AdobeAcrobatType AS Type,
PC_AdobeAcrobatComment AS Comment
WHERE PC_AdobeAcrobatAmountPurchased IS NOT NULL
UNION
SELECT "Microsoft Office" AS Program, PC_OfficeVersion AS Version,
PC_OfficeDatePurchased AS DatePurchased,
<etc. etc.>
Your Report can be based on a Crosstab query and/or a Totals query.
You can also spend twice as much time and effort getting your current
non-normalized table structure to work. Take your pick.