G
Guest
i am trying to move my database to sql. and now my forms will not work
it is a combo box that selects a product and then shows the correct subform
but now it gives me an error.
this is the code for the box
Private Sub Combo26_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[ProductID] = " & Str(Nz(Me![Combo26], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
thanks in advance
im new to sql so pleas forgive ne
it is a combo box that selects a product and then shows the correct subform
but now it gives me an error.
this is the code for the box
Private Sub Combo26_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[ProductID] = " & Str(Nz(Me![Combo26], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
thanks in advance
im new to sql so pleas forgive ne