B
Bob Vance
Can someone tell me why after one filter my subform locks up and I can not
select another filter unless I close the foem and re-open it?
-------------------------------------------
Combo Box Update
-------------------------------------------------------
Private Sub cbOwnerIDB_AfterUpdate()
Dim nRtnValue As Integer
If IsNull(cbOwnerID1B.Column(0)) Then
nRtnValue = vbYes
End If
If nRtnValue = vbYes Then
cbOwnerID1B.value = cbOwnerIDB.value
Form("SubPayModePayChild").Form.Filter = "[OwnerID]=" & Me.cbOwnerIDB
Form("SubPayModePayChild").Form.FilterOn = True
If Len(Me.cbOwnerIDB.value & "") > 0 Then
Me.cbOwnerIDB.Locked = True
Dim rsFullAmtPaid As ADODB.Recordset
Set rsFullAmtPaid = New ADODB.Recordset
End If
End If
End Sub
Thanks in advance for any help with this......Bob
MS Access 2007 accdb
Windows XP Home Edition Ver 5.1 Service Pack 3
select another filter unless I close the foem and re-open it?
-------------------------------------------
Combo Box Update
-------------------------------------------------------
Private Sub cbOwnerIDB_AfterUpdate()
Dim nRtnValue As Integer
If IsNull(cbOwnerID1B.Column(0)) Then
nRtnValue = vbYes
End If
If nRtnValue = vbYes Then
cbOwnerID1B.value = cbOwnerIDB.value
Form("SubPayModePayChild").Form.Filter = "[OwnerID]=" & Me.cbOwnerIDB
Form("SubPayModePayChild").Form.FilterOn = True
If Len(Me.cbOwnerIDB.value & "") > 0 Then
Me.cbOwnerIDB.Locked = True
Dim rsFullAmtPaid As ADODB.Recordset
Set rsFullAmtPaid = New ADODB.Recordset
End If
End If
End Sub
Thanks in advance for any help with this......Bob
MS Access 2007 accdb
Windows XP Home Edition Ver 5.1 Service Pack 3