C
Coach K
I am using Access 03 i have a form with a cmd button on that once it is click
bring up the find dialog box. I am trying to set focus on field call
"PONumber", but i keep getting "Object doesn't support this propertly or
method"
Here is the code:
Private Sub cmdFindPO_Click()
'Set focus on the PO number field
On Error GoTo Err_cmdFindPO_Click
Me![PONumber].SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_cmdFindPO_Click:
Exit Sub
Err_cmdFindPO_Click:
MsgBox Err.Description
Resume Exit_cmdFindPO_Click
End Sub
Thanks for your value help!
bring up the find dialog box. I am trying to set focus on field call
"PONumber", but i keep getting "Object doesn't support this propertly or
method"
Here is the code:
Private Sub cmdFindPO_Click()
'Set focus on the PO number field
On Error GoTo Err_cmdFindPO_Click
Me![PONumber].SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_cmdFindPO_Click:
Exit Sub
Err_cmdFindPO_Click:
MsgBox Err.Description
Resume Exit_cmdFindPO_Click
End Sub
Thanks for your value help!