• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1289
  • Last Modified:

Whay does my quesy show "Expr1000"?

When I run my query, I see afield that says "Expr1000"

I put an image attached.
EXPR1000.jpg
0
cssc1
Asked:
cssc1
2 Solutions
 
Gustav BrockCIOCommented:
Because one field is included more than once.

/gustav
0
 
SimonCommented:
It can mean you have used two columns with the same name in your output (e.g. if you picked 'Event' twice, either from the same table or two different tables) OR it can mean that you have a calculated column (e.g. [EventNo]-1) without specifying an alias for the calculated expression.

If the first is true, remove one of the duplicate columns from your output.
If the second is true, prefix the calculated expression with an alias, thus

MyColAlias:[EventNo]-1
0
 
hnasrCommented:
Adding: (Access 2010)

If you have a field a:

For a calculated field (a + 1), access defaults to Expr1, Expr2, ...
Aliases are reflected in design view and sql view.

When adding a field more than once, then previous entries' aliases default to Expr1000, Expr1001, ...
The aliases don't show in design or sql views
0
 
cssc1Author Commented:
Thanks
0
 
Gustav BrockCIOCommented:
You are welcome!

/gustav
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now