Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Beginner 3    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 

 Natalie 

14 years ago
Hi, thanks for these videos-- they have been life altering!

I have a question for you regarding forms.  Here is our scenario:
1.  We are importing an excel table from an external source.
2.  This table contains some, but not all, of hte information we require. I have added the extra fields into the table.
3.  I have created a form that can be used to call up that record.  Some fields will autopopulate from the imported table, and some are blank and ready for the additional information to be entered.

It all works quite brilliantly except... I want to allow for the scenario where a record is not already in the imported table.  Ideally, if a record is not in the original table, I would like the form to blanked, allowing for ALL fields to be manually entered.

What I found was that if I entered the identifier for the record (indexed, no duplicates allowed), if it was not on the list, it CHANGED the current record to that new number.  This cannot be allowed.  If I made the field so it could not be edited, I couldn't enter any new numbers at all.

What I would like is- if I entered the unique identifier and it is in the table, that it calls up that record (which works), but if that unique identifier is NOT in the table, I would like a blank form to come up.

Is this possible?  Thanks,
Natalie


Reply from Richard Rost:

Life altering? Wow. Thanks. :)

Sounds like you should use a DLOOKUP to determine whether or not the record exists in the other table. If so, import it. If not, load a blank page. The bad news is that this is going to involve a little programming. The good news is that you can probably do it with just a few lines of code. Check out the link for more help.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Beginner 3.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 9:11:53 PM. PLT: 1s