G
Guest
I have the following routine in a form and am having a problem I can not find
the answer to. When th following is run:
Private Sub Form_AfterUpdate()
Forms!frmYardSales2![frmCountSale subform].Requery
End Sub
I keep getting this error:
Run-time error '2645'
Microsoft Access can't find the field 'frmCountSale subform' referred in
your expression.
I have doubled, tripled, quadrupled, etc. checked the name and it's correct.
What's more perplexing is I copied this from another version of the same
program and it works fine in that database. I have gone through properties
for all the fields, all the forms, all the subforms, and they are seemingly
identical to the other access database program that works right. This one
refuses to work. I'm new to VBA and I'm not sure where else to look or really
what else to look for. If anyone has any ideas and could possibly point me in
a direction of discovery, I would greatly appreciate the assistance.
Thank you,
Randy M.
the answer to. When th following is run:
Private Sub Form_AfterUpdate()
Forms!frmYardSales2![frmCountSale subform].Requery
End Sub
I keep getting this error:
Run-time error '2645'
Microsoft Access can't find the field 'frmCountSale subform' referred in
your expression.
I have doubled, tripled, quadrupled, etc. checked the name and it's correct.
What's more perplexing is I copied this from another version of the same
program and it works fine in that database. I have gone through properties
for all the fields, all the forms, all the subforms, and they are seemingly
identical to the other access database program that works right. This one
refuses to work. I'm new to VBA and I'm not sure where else to look or really
what else to look for. If anyone has any ideas and could possibly point me in
a direction of discovery, I would greatly appreciate the assistance.
Thank you,
Randy M.