Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / September 2004

Tip: Looking for answers? Try searching our database.

delete

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
- 15 Sep 2004 00:36 GMT
From: <ria@discussions.microsoft.com>
Subject: form linking
Date: Wednesday, September 08, 2004 12:23 PM

I have a form in which I have a list box (lookup table)in
the header and depending on the choice, I would like to
display records from another table.  I am unable to
accomplish this.  Could anyone help.  I know this is very
basic..but I seem not to find much help.

Thanks
mscertified - 15 Sep 2004 01:01 GMT
data from different tables or different data from the same table? How do you
want to display the data on a form or in a list?
Be more specific.

> From: <ria@discussions.microsoft.com>
> Subject: form linking
[quoted text clipped - 7 lines]
>
> Thanks
PC Datasheet - 15 Sep 2004 01:50 GMT
Your form needs to be based on a query that has a field the same name as the
value of your listbox such as CustomerID. In your query put the following
expression in that field:
Forms!NameOfYourForm!NameOfYourListbox

Put the following code in the AfterUpdate event of the listbox:
Me.Requery

BTW The listbox must be unbound.

--
                                       PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
                             resource@pcdatasheet.com
                                www.pcdatasheet.com

> From: <ria@discussions.microsoft.com>
> Subject: form linking
[quoted text clipped - 7 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.