-----Original Message-----
Thomas
I'm having a little trouble imagining a situation in which I'd want to
change all of a table's field names. Could you describe what you are trying
to accomplish, rather than how?
Actually, I can imagine one circumstance -- if I had a table that contained
field names that were "intelligent" (NOT a compliment!). For example, if my
field names were:
200301
200302
200303
...
200312
a reasonable supposition is that these fields represent the months of the
year 2003. Embedding this kind of meaning in "repeating" field names is
poor relational design (?non-relational design) and causes horrible
headaches when using Access.
Your post didn't mention this, but will you also be changing all the code,
queries, forms, reports and macros that refer to those field names?
Good luck!
Jeff Boyce
<Access MVP>
.
Hi Jeff,
The thing is that I am not that good using Access, but I
have this import module and a VB code for importing a file
in this case an .xls file which is causing me some
problems. What i need to do is to trim this file and get
rid of all the not used fields and rename the fields i
want to use (the rest of the fields) to another name. the
fields are now named F1, F2 ..... F38. I need to use only
22 of these fields and therefore i need to remove 16
fields which in any case is almost empty, some idiot ( not
you ) have written something in these colums in the . xls
file. I need to rename the fields to know which fields i
am using in my queries and forms and reports. Should i
send the .mdb to you and maybe you could help me....
Thanx for your support.
Thomas