I have a field that is called "DETAIL", which looks fine if I look at is as a table. However, in a query it turns to "Field0". Why does Access do that and how can I fix it?
I expect Detail is a reserved word and can't be displayed as a column heading in a query.
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
I recently posted this question to the very secret private news group for MS Access MVPs. This seems to be new information to them also. No one could find documentation anywhere on this. I'm not sure if our "Lead" (MS employee who babysits us) has reviewed the thread.
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
I appreciate the review. My guess is this is an Access thing and not as SQL thing. I don't have another db program to check that. If it is an Access thing, I would further guess that it is legacy code going back many versions.
I expect you are correct with the legacy code. One of the Access MVPs has created an add-in that identifies reserved words within your mdb. I just asked him if it's ok if I post the link to the utility. I'll post it if he allows.
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
Here is a link to Allen Browne's issue checker. Keep in mind this is a free utility and all the bugs haven't been worked out. It is fairly robust and offers great functionality.
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.