"Tim Hunter" <th*****@rochester.rr.comwrote
Hi I am using WinXP and Access 2003
Is it possible to store the field names of a table
in an array and then loop through the array and
update the table using the field names stored
in the array?
"Yes," as rkc said, "it is."
"No," I say, "it is almost certainly not what you SHOULD be doing."
From your description, it sounds as if you are "committing spreadsheet" --
wanting to use Access as nothing but a bigger version of Excel, that can
handle more rows and columns. I agree that you need to carefully review what
business functions you need to accomplish, and how you need to structure and
use the data -- which, in a database, will not be tables with so many
columns you bump into Access' limitations.
Where I disagree with rkc (and I think he was being somewhat facetious) is
that I think you might well benefit if you contract with an experienced
Access developer to work with you and from whom you might learn. But, even
before that, check out the recommended self-study books at
http://www.mvps.org/access and other sites.
Some of my favorites are:
"Microsoft Access Step-by-Step" from Microsoft Press for the raw Access
beginner
"Microsoft Access 2003 Inside-Out" by John Viescas, from Microsoft Press, or
"Special Edition Using Microsoft Access <version>" by Roger Jennings, from
Que,
both of which start from the beginning but go farther into development than
the Step-by-Step books
"Microsoft Access <versionDeveloper's Handbook" by Litwin, Getz, et al,
from SYBEX for the intermediate to advanced developer
but there are many books available, and most of them are good -- but not if
they just sit on the shelf at the bookstore.
Larry Linson
Microsoft Access MVP