A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

delete



 
 
Thread Tools Display Modes
  #1  
Old September 15th, 2004, 12:36 AM
external usenet poster
 
Posts: n/a
Default 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  
Old September 15th, 2004, 01:01 AM
mscertified
external usenet poster
 
Posts: n/a
Default

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  
Old September 15th, 2004, 01:50 AM
PC Datasheet
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 12:30 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.