Solved

Whay does my quesy show "Expr1000"?

Posted on 2015-02-09
5
806 Views
Last Modified: 2015-02-12
When I run my query, I see afield that says "Expr1000"

I put an image attached.
EXPR1000.jpg
0
Comment
Question by:cssc1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 50

Accepted Solution

by:
Gustav Brock earned 250 total points
ID: 40599554
Because one field is included more than once.

/gustav
0
 
LVL 18

Assisted Solution

by:Simon
Simon earned 250 total points
ID: 40599558
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
 
LVL 30

Expert Comment

by:hnasr
ID: 40599601
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
 

Author Closing Comment

by:cssc1
ID: 40605526
Thanks
0
 
LVL 50

Expert Comment

by:Gustav Brock
ID: 40605529
You are welcome!

/gustav
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question