requery in subform

  • Thread starter Dimitris Nikolakakis
  • Start date
D

Dimitris Nikolakakis

I have a form FOrders and a subform FOrdersTx
In the form I have the field FactoryID

In the subform I have a field StorageCode (combo box) that takes data from
storage with selection qry
SELECT Code from Storage WHERE Storage.FactoryID =
Forms![FOrders].FactoryID

I also have a combo box Description that works like StorageCode combobox

My problem is when I change the Factory in main form the requery is not done
in the two combo boxes

I have tried in AfterUpdate of FactoryID:
Forms![FOrdersTx].Combo6.Requery
Forms![FOrdersTx].Combo8.Requery

but it does not work

thanks in advance
Dimitris
 
G

Guest

If your combobox is called StorageCode, why are you calling Combo6 or
Combo8.Requery ?

Try this in the AfterUpdate event of FactoryID

Me.[FOrdersTx].Form.StorageCode.Requery
 

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

requery 2
From MDB to ADP 1
Query with parameters from a form 5
Combo box requery 1
REQUERY SUBFORM 4
Referencing a subform 4
Requery combo box on a subform 3
Multiple combo boxes subform criteria 4

Top