Requery Problem

  • Thread starter Thread starter Bob
  • Start date Start date
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
 
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.
 
Back
Top