Having problems with sub forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access Form Refresh 1
Access Sub form opens before the main form in MS Access 0
Use a button to filter a sub subform 2
Currenct issue with a text box 1
Sub-form totals 3
Problem with sub-sub-form 2
Tab order sub forms 2
Sub Total a Sub Table 7

Back
Top