Hi
This should be fairly simple but I cannot figure it out.
I have a Form which I have added a button to ADD a new item, which in turn opens up another Form.
However after entering all the necessary field and closing / re-querying I would like it to select that last entered item as default. I tried messing with macro's but to no avail. Here is the code for exiting from entering a new item..
Private Sub CABLE_TYPE_SELECT_exit_Click()
DoCmd.Close acForm, "Cable_Type_Select"
DoCmd.OpenForm "CABLE ENTER"
With Forms![CABLE ENTER]
.SetFocus
.Requery
End With
End Sub
thanks for any help!!
Simmo
This should be fairly simple but I cannot figure it out.
I have a Form which I have added a button to ADD a new item, which in turn opens up another Form.
However after entering all the necessary field and closing / re-querying I would like it to select that last entered item as default. I tried messing with macro's but to no avail. Here is the code for exiting from entering a new item..
Private Sub CABLE_TYPE_SELECT_exit_Click()
DoCmd.Close acForm, "Cable_Type_Select"
DoCmd.OpenForm "CABLE ENTER"
With Forms![CABLE ENTER]
.SetFocus
.Requery
End With
End Sub
thanks for any help!!
Simmo