Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   Courses   Seminars   Templates   Help   TechHelp   Forums   Contact   Join   Order   Logon  
 
Home > Forums > Access
 
Microsoft Access Forum

Welcome to the Microsoft Access Forum. Access is by far our most popular topic here at Computer Learning Zone. This forum is for everyone to read but only students can post here. If you'd like to become a student, all you have to do is enroll in one of my courses, which you can do for as little as $1. After you create a logon, you will have full access to the Forums.

Subscribe to this forum and receive an email update whenever new posts are added. You will also be notified by email if any conversations you are involved in receieve new comments. Yes, even non-students can subscribe to update notifications.

NEW: Access Developer Students, make sure you subscribe to the Developer Student Forum.

Click Here to Post a comment and start a new discussion

Please read the FORUM RULES before posting.

 

Data Load Upload Images   Link 
Mohammad Masood 
44 days ago
Hi Mr. Richard
I am gold member of your channel and i have a query. In a real world we don't show all the records on the form or list. for eg. i want to load a record of customer in the header of the form where all the header fields are unbound. I want to search the data from the customer table and load in the header fields which are unbound. In the details sub-form which is also unbound i want to search the products and load the products from product table and and all the header and sub-form data i want to save it into another table, like transaction or history table, and i want to use this table or query for reports to know my daily, monthly and yearly sales.
Please advise how to achieve this in unbound fields
thanks and best regards,
Mohammad Masood
Richard Rost
43 days ago
There's a lot to unpack in that paragraph. Let's break it down and start with ONE thing at a time. What are you trying to accomplish first?
Mohammad Masood
35 days ago
Hi there, First thing i want to search the data from one form and load it into unbound controls in the another form
Adam Schwanz
34 days ago
There are a number of ways you could do this, I'm going to use DLOOKUP.

So let's say you search the field in SearchF, your other form is UnboundF for this example, and you are searching by the SerialNumber which is the unique primary key in the table. Then you want to send over the Serial Number, a Product Number, and a Description.

Depending what kind of search you have will change how you dlookup values below. For my example, I'm going to assume that I'm searching by the SerialNumber so I will have it, if you're using a listbox or some other search you will need to make adjustments.

DoCmd.OpenForm "UnboundF"
Forms!UnboundF!UnboundSerialNumber = SerialNumber
Forms!UnboundF!UnboundProductNumber = DLOOKUP("ProductNumber","ProductT","SerialNumber=" & SerialNumber)
Forms!UnboundF!UnboundDescription = DLOOKUP("Description","ProductT","SerialNumber=" & SerialNumber)
Adam Schwanz
34 days ago
Listbox Search you could use = SearchList.Column() and appropriate numbers

You could also use a recordset
Richard Rost
34 days ago
There are a lot of ways to do it, including what Adam said. You'll definitely need an event to trigger loading the data. See AfterUpdate.
Add a Reply

Show All 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.
 
Subscribe
 

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

7/25/2021Missing Months
7/24/2021Center Vertically
7/23/2021DCount
7/22/2021Buy Access
7/21/202164-Bit Access
7/20/2021Relationships
7/18/2021Splash Screen
7/11/2021Access Developer 30
7/11/2021Access Developer 31
7/11/2021Access Developer 31 Lessons
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
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
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
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: microsoft access forum  PermaLink