G
Geoff Taylor
We are attempting to convert our existing Access jet database to MSSqL.
We have a Form on which is a Combo box that selects records for a subForm.
The current syntax for the Event procedure on the main form that selects the
records for the subform is as follows...
=========================================================================
Private Sub cbSearch_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[SUTKEY] = " & Chr(34) & Me.cbSearch.Column(3) & Chr(34)
Me.Bookmark = rs.Bookmark
End Sub
=========================================================================
Under SQL, FindFirst is not available.
Any suggestions on how to achieve the same functionality with SQL?
We have a Form on which is a Combo box that selects records for a subForm.
The current syntax for the Event procedure on the main form that selects the
records for the subform is as follows...
=========================================================================
Private Sub cbSearch_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[SUTKEY] = " & Chr(34) & Me.cbSearch.Column(3) & Chr(34)
Me.Bookmark = rs.Bookmark
End Sub
=========================================================================
Under SQL, FindFirst is not available.
Any suggestions on how to achieve the same functionality with SQL?