bookmarks? find_records?
also if the main form changes record have it change the sub_form selection.
i have tried the following code:
Expand|Select|Wrap|Line Numbers
- Dim rst As Recordset
- Dim strCriteria As String
- Set rst = [Form_Item].RecordsetClone
- strCriteria = "[Inv ID] = " & [Inv ID]
- rst.FindFirst strCriteria
- If rst.NoMatch = False Then
- [Form_Item].Bookmark = rst.Bookmark
- End If
- Set rst = Nothing.
I used to do this easily with a combo box, but i want color changes, so i need a subform.
Im trying to have two subforms control the record.
The 1st subform has ALL the records
The 2nd subform has records associated with the current.