?
Solved

extra record created in query

Posted on 2011-09-15
6
Medium Priority
?
228 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
[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
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 93

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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 36543956
test this


Database.mdb
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
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 …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

770 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