robertbwainwright
Registered User.
- Local time
- Today, 09:57
- Joined
- May 2, 2012
- Messages
- 62
I'm getting a run time error (#459) when trying to run some code. This just started happening and the code ran fine 1/2 an hour ago. The code is filtering subform on load. Not sure what the heck has happened. Here is the code:
if I stop the code I have a similiar code running in a combo box and I'm getting the same error. PLEASE HELP! Not sure why this has all of a sudden happened.
Code:
Private Sub Form_Load()
'********************************************
'Filter for the user
'********************************************
[frmCommoditySupplierSpend-SubForm1-ByVend].Form.Filter = "[Commodity Mgr]= '" & strComodityMgr & "'"
[frmCommoditySupplierSpend-SubForm1-ByVend].Form.FilterOn = True
'********************************************
End Sub
if I stop the code I have a similiar code running in a combo box and I'm getting the same error. PLEASE HELP! Not sure why this has all of a sudden happened.