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 > Help > AccessDev.NET >
 
AccessDev.NET AccessDev.NET

Microsoft Access Developer Network

Welcome to the Access Developer Network. If you are looking for someone to help you with your Microsoft Access database issues, troubleshoot problems, or even build a database for you, then you have come to the right place. For complete information on the Access Developer Network, please click here for details and instructions for posting.

Want to see Testimonials from other clients that have found Access help here in the Developer Network? Click here.

Developer Students: if you're interested in picking up some consulting work, 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 receive new comments.

Please note, that I do allow any of my students to respond to requests posted here. It's an open forum. However, unless you see the Access Veteran badge next to their name (shown at right), then I do not personally recommend them. My Access Veterans are long-time students of mine who I know have completed most, if not all, of my Developer lessons and really know what they're doing when it comes to Microsoft Access. 

As a disclaimer, I take NO responsibility for any work provided by ANY person you may meet through this Forum. This is simply a meeting place I have arranged to put people who NEED help together with people who want to PROVIDE help. I, Richard Rost, assume NO liability for any services provided. Use at your own risk. Same goes for both users and providers. You are both responsible for your own interactions, work to be done, and any payments promised. 

 

Search for Customers Upload Images   Link 
Graham Hendricks 
7 months ago
Hi fellow Developers. I design the customer form base on Developer 18 lesson 4 and 5. Now I need to search for the customers from a search form. After I design the search form[Search as you type] and The Search Form works 100% .

When I double click in the Search  list box on the specific customer to open the customer form for that specific customer than it gives me that error message "The form that I try to open are unbound". The Customer form are unbound base on Developer 18 lesson 4 and 5.

With my other databases the customer form are link  to customer table then the search list box works fine with no problem. Can someone help me please?
Juan C Rivera
7 months ago
I like to see what was done can you share the database so I can see.  No promise but will give it a shot.

V/r
Juan
Graham Hendricks
7 months ago
Hi Juan , yes I can  share this database with you. What is your email ? Thanks in advance for your help.

Regards
Graham
Adam Schwanz
7 months ago
Not reviewing the video lessons, so hopefully I'm not shooting this way out into left field. Just assuming what you mean. If you mean it has no record source. I don't think you can do that with an unbound form. It has to have some way to link the list to the form. I use a code like this, I don't remember what lesson but I got the basics of it somewhere along the way in the dev classes.

Private Sub CustomerList_DblClick(Cancel As Integer)
    If IsNull(CustomerList) Then
    Exit Sub
    Else
    DoCmd.OpenForm "CustomerF", , , "CustomerID= " & CustomerList
    End If
End Sub

If yours is similar to this, it will never return a valid customerID because it's not bound to any table that has the ID in it.
Graham Hendricks
7 months ago
Hi Adam thanks for the reply, it is not working because the ALL the text fields in the Customer form are unbound.
Already try that option:
If IsNull(CustomerList) Then
    Exit Sub
    Else
    DoCmd.OpenForm "CustomerF", , , "CustomerID= " & CustomerList
    End If
End Sub

Any other solutions from your side?
Regards,
Graham

Alex Hedley
7 months ago
Why is is unbound?
Adam Schwanz
7 months ago
To open an unbound form based on a customerID in the list box, you'd have to tell it what values you wanted it to load. The easiest way (I don't suggest, this is way overcomplicating it) to do that would be to make every unbound field a DLOOKUP based on the ID from the previous forms search listbox. I'd just make them bound.
Graham Hendricks
7 months ago
Hi Alex, the Customer Form are base on Developer 18 lesson 4 and 5. The record set for the customer form works 100%. Need to be able search for the customers in that form, even with another customer search form. Hope you can help? Regards
Alex Hedley
7 months ago
Dev 18
Alex Hedley
7 months ago
But why are you doing it this way?
Lesson 4/5 was just a way to show you an example of how to use RSs

Why would you not bind the CustomerF to the CustomerT/CustomerQ?

Usually you'd have a search form and when you select the Customer you want you can open the single form with all its data.
Adam Schwanz
7 months ago
Ah this lesson was recordsets, my answers were only slightly into left field then :). But yea, unless you have some strange reason, I'm with Alex, just bind it.
Graham Hendricks
7 months ago
Already tried the CustomerF to the CustomerT then received numerous errors like duplicate indexes. First when create the customer form that link to CustomerT it works fine then after while give Index error messages, that is the reason why want to  use RS
Alex Hedley
7 months ago
Is CustomerF a single form?
Is this one youve made yourself or one from the Template?
Adam Schwanz
7 months ago
If you don't get it solved here in the forum and want to send it to me I'll take a look later tonight when I get some free time. Unless Juan is already looking at it.

aschwanz@hotmail.com
Graham Hendricks
7 months ago
Thanks Adam, can I send the database tomorrow to you. Will send you the customer form with the search form , is that okay?  
Alex I used the template and based the customer form on it.
Thanks guys for your help in advance
Juan C Rivera
7 months ago
I'm here if you guys need help.
Adam Schwanz
7 months ago
Yes, that's fine. You can send it to me or Juan, we will help if we can.
Graham Hendricks
7 months ago
Thanks guys, will forward db later
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:

10/10/2021Copy Text from Field
10/10/2021Access for Free
10/9/2021Birthdays
10/8/2021Label Resize
10/2/2021Criticisms of Access
10/1/2021Access Developer 32
10/1/2021Groups
9/29/2021DMin
9/28/2021Track Log On
9/26/2021Sliders
 

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 developer network forum  PermaLink