I have renamed a field to "Jan-05". Everytime I save, close, and reopen the
query, the field name changes to "Jan-5"! How do I keep Access from removing
the 0?!
Sylvain Lafontaine - 06 May 2005 22:30 GMT
Wild guess: maybe the autocorrect is ON ?

Signature
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
>I have renamed a field to "Jan-05". Everytime I save, close, and reopen the
> query, the field name changes to "Jan-5"! How do I keep Access from
> removing
> the 0?!
Van T. Dinh - 07 May 2005 10:57 GMT
It looks to me that you are storing data in the Field name. Do you have of
the Fields with similar name, e.g. "Feb-05"
If yes, storing data in the Field name is a no-go zone in Relational
Database Design Theory. Database engines cannot process data in names so
you will have lot of problems later with this structure...

Signature
HTH
Van T. Dinh
MVP (Access)
> I have renamed a field to "Jan-05". Everytime I save, close, and reopen the
> query, the field name changes to "Jan-5"! How do I keep Access from removing
> the 0?!
John Vinson - 07 May 2005 23:37 GMT
>I have renamed a field to "Jan-05". Everytime I save, close, and reopen the
>query, the field name changes to "Jan-5"! How do I keep Access from removing
>the 0?!
Wups! Normalization Alarm Bells going off.
A field name should NEVER UNDER ANY CIRCUMSTANCES contain data. Any
table with a field named Jan-05 is *very* unlikely to be properly
normalized!
If your table is getting one field wider every month... it's not a
table; it's a spreadsheet. If you want spreadsheets, use Excel; if
you're using Access, consider a "tall thin" table with one record per
month, with a datefield.
That said - probably the suggestion of turning off Name Autocorrect in
the database's Tools... Options is the best bet.
John W. Vinson[MVP]