John W. Vinson said:
If you have 100 fields in your table, you don't have a table - you have a
spreadsheet. Storing data (such as "John", "Susan", "Mark") in a fieldname IS
SIMPLY INCORRECT DESIGN.
You can "rotate" a tall thin table with fields for FirstName and other data
into a wide-flat view with a FirstName at the head of each column by using a
Crosstab Query, but you would certainly never want to create a *table* with
that structure.
If you'll step back and describe the nature of the data and what you're trying
to accomplish in a real world sense, someone should be able to suggest a
normalized solution. It will NOT involve fields named "Mark", "Matthew",
"Luke", or "John".
You are correct. I am working on a spreadsheet that was imported from
Excel. I put the contents into a table, and I want to create several new
fields to where I can transfer data that is currently under one field. I
used the example "Names" earlier, but it's actually "Tracking Charge" and the
data runs anywhere from "Additional Handling", and "Address Correction" to
"Fuel Surcharge". Sometimes there are four data items and sometimes there
are fifteen. It depends on what my client downloads to me each week.
I just want to take those data items and create new fields for each one just
next to the field they are in now ("Tracking Charge"). Once a column, or
field, is established with a new heading, I want to move the data name (e.g.
"Fuel Surcharge") to the new field. I just want to move it over. In other
words, you will be left with a new field titled "Fuel Surcharge" and below
that, maybe rows 45 through 95 will have the same thing: "Fuel Surcharge".
The next column or field will be headed "Saturday delivery" and rows 96
through 130, for example, will also say: "Saturday delivery".
This may work better or easier in Excel for all I know.
Thanks.