Free Lessons
Fast Tips
Topic Index
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
Home > TechHelp > Directory > Access > Don't Delete Data < Check Register | Blank Template >
Don't Delete Data
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   2 years ago

Back to Don't Delete Data

Filter Combo Upload Images   Link  
Michelle Seidelin 
2 years ago
Hello Richard I have added our field to my product table called discontinued when I run the query it will only show the active ones but when I used the combo's it still shows the item which I have marked discontinued what have I done wrong Michelle
Michelle Seidelin
2 years ago
Richard just in case I did not make it clear I am running the database as built to level 22 where it is getting the information for the combo's through the product list but does not add it directly and tall you hit the add button just thinking if this was being fed by a query with ProductT in the query with discontinued showing as no so if I change the source of the combo to this query then the product does not show is this the right way to go about it

Alex Hedley
2 years ago
If you create a query, then add a field later that you want to use to filter that data youd need to update the combo source, so add that discontinued field into your WHERE clause.
Michelle Seidelin
2 years ago
Hello Alex just to confirm that I am doing what you are suggesting and I am not going to muck up the workings of the database as far as the order details there order detail as taught in level 22 you are saying to replace the following which was built into the lesson 22 SELECT [ProductT].[ProductID], [ProductT].[ProductName], [ProductT].[UnitPrice] FROM ProductT; with the query which I called discontinuedQ

Will not do anything until I get this confirmed a lasting I want to do is destroy all my work by doing something that is wrong

Thank you Michelle
Alex Hedley
2 years ago
It should be fine, if you're worried take a backup of the db first, make a copy of the original SQL and you can always revert it.
As long as the field bound to the original control exists in the new query it should continue working.
If it looks at historic data and you choose a record linked to a Product that is now discontinued it won't show anymore.

This thread is now closed. If you wish to comment, start a NEW discussion, below.

Back to Don't Delete Data Comments

Start a NEW Conversation
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

You may want to read these articles from the 599CD News:

5/27/2022Add Anything
5/26/2022List Items Edit Form
5/25/2022Column Colors
5/24/2022Multi-Table Forms
5/21/2022Access Developer 39
5/21/2022Access Developer 39 Lessons
5/21/2022Access Developer 39
5/21/2022Select Items in Related Table
5/21/2022Clear List Box

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn