If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
delete
From: 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 |
#2
|
|||
|
|||
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. " wrote: From: 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 |
#3
|
|||
|
|||
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 www.pcdatasheet.com wrote in message ... From: 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 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I delete a personal folder file that I created by mistake? | Karly | General Discussion | 1 | September 14th, 2004 09:00 PM |
Delete Query cannot delete specified from specified tables... | bbarkman | General Discussion | 2 | July 8th, 2004 01:08 PM |
Delete order | chase | General Discussion | 1 | June 7th, 2004 04:11 PM |
completely delete office2000 | jason | Setup, Installing & Configuration | 1 | May 28th, 2004 10:08 AM |
Delete - confirmation required | Elfie | General Discussion | 2 | May 21st, 2004 05:51 PM |