Requery Problem

B

Bob

Because I have my same list box on 2 seperate forms is there any way I can
add these 2 Requery codes to my delete button code that is on my Invoice
form which is selected from either frmMain or frmModify..........Thanks for
any Help....Bob
Forms!frmModify!lstModify.Requery
Forms!frmMain!lstModify.Requery
 
G

Guest

Hi Bob

The simpliest way would be to rename one of the list boxes so you have 2
different lists. This would not affect the source and you would be able to
requery OnClick.


Forms!frmModify!lstModify.Requery
Forms!frmMain!NewName.Requery


Change NewName to what you use.
 

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

Help with coding a delete button! 5
One Control for 2 codes 1
Stop Form from Opening 2
Requery a Sub Form! 10
Form Load problem 2
msg box vbCritical help 1
Subform Requery Criteria 1
Cant find subForm 5

Top