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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Having problems with sub forms



 
 
Thread Tools Display Modes
  #1  
Old May 31st, 2004, 04:41 PM
CD Tom
external usenet poster
 
Posts: n/a
Default Having problems with sub forms

I seem to always have this problem. I have a form that the user selects items from different tables and enters them into another table. I have a sub form on the main form that I want to show the items as the user selects them. After the user selects the item they click a button to add to order, at that time I want the item to show up in the sub form. The forms are linked by ordernumber. I've tried the refresh, recal, repaint and just about everything but nothing seems to work. Any help would be appreciated.

Thanks
  #2  
Old May 31st, 2004, 05:20 PM
Turner
external usenet poster
 
Posts: n/a
Default Having problems with sub forms

I assume you are selecting an item from a combo box and
you want related records to appear in the sub form. If
that's the case in the AfterUpdate event of the Combo Box
try

Me.SubFormName.Requery


-----Original Message-----
I seem to always have this problem. I have a form that

the user selects items from different tables and enters
them into another table. I have a sub form on the main
form that I want to show the items as the user selects
them. After the user selects the item they click a
button to add to order, at that time I want the item to
show up in the sub form. The forms are linked by
ordernumber. I've tried the refresh, recal, repaint and
just about everything but nothing seems to work. Any
help would be appreciated.

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


All times are GMT +1. The time now is 04:10 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.