Sirs,
Im using the below code to open a form from a listbox on a form.. this is working if one criteria only.
Can someone please add, if i have another criteria "propid" this is numeric control.. still learning to code, and i have no idea how to do it..
================================
Private Sub List104_DblClick(Cancel As Integer)
Dim strformName As String
Dim strCriteria As String
strformName = "frmPayment"
strCriteria = "[buyerID]= " & Me![List104]
DoCmd.OpenForm strformName, acNormal, , strCriteria
========================================
Any help would be appreciated..
Thank
End Sub
Any
Im using the below code to open a form from a listbox on a form.. this is working if one criteria only.
Can someone please add, if i have another criteria "propid" this is numeric control.. still learning to code, and i have no idea how to do it..
================================
Private Sub List104_DblClick(Cancel As Integer)
Dim strformName As String
Dim strCriteria As String
strformName = "frmPayment"
strCriteria = "[buyerID]= " & Me![List104]
DoCmd.OpenForm strformName, acNormal, , strCriteria
========================================
Any help would be appreciated..
Thank
End Sub
Any