Solved

extra record created in query

Posted on 2011-09-15
6
193 Views
Last Modified: 2012-05-12
hello,
i have attached db- open database-form opens
if you select name from combo box and click completed.
Then press run query-
you will see I have one extra record always displaying on top-
is there a way not to have this.
I am trying to have time stamp w/name.
thank you
Database.mdb
0
Comment
Question by:davetough
6 Comments
 
LVL 5

Expert Comment

by:DoveTails
ID: 36543871
Take a look at table1.....the first record is blank.   Edit your table and the 'extra' record will be removed.

Good luck
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 36543903
In addition to that, your 'Completed' button is allowing users to add records to that table where the name is blank.  So, even if you remove that current blank row, your users will probably just ad more in the future.

Also, word of advice: NEVER just leave your control names as Command7 or Command26.  ALWAYS give them meaningful names.
0
 
LVL 77

Expert Comment

by:peter57r
ID: 36543915
The record is already  in your table so it will always appear in the query.
Delete it from the table.

0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 119

Expert Comment

by:Rey Obrero
ID: 36543956
test this


Database.mdb
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 36543992
if you want to see the date when you open the form, use this
Database.mdb
0
 

Author Closing Comment

by:davetough
ID: 36544175
thank you
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now