what it's supposed to do is open the User Problem Log form and go to the specific record.
I have this combo box on another form.
trouble no is the autonumber and that's what is used to go to that specific record on the User Problem Log form.
Expand|Select|Wrap|Line Numbers
- DoCmd.OpenForm ("User Problem Log")
- Dim rs As Object
- Set rs = Me.Recordset.Clone
- [Forms]![User Problem Log]![trouble_no] = " & Str(Nz(Me![Combo5], 0))"
- If Not rs.EOF Then Me.Bookmark = rs.Bookmark
i am getting an error code:
"Run-time error '2113':
The value you entered isn't valid for this field."
and then it breaks to this line of code
Expand|Select|Wrap|Line Numbers
- [Forms]![User Problem Log]![trouble_no] = " & Str(Nz(Me![Combo5], 0))"