C
Chris
My master form (client) has a subform (jobs summary) which is continuous.
I have a button beside the record to pull up the details (on popup form -
JobDetails) for a user-selected job viewed on the continuous subform (Jobs
summary). The button wizard is unavailable because of continuous form, I
think.
I am able to open the popup form, but even though the subform shows only the
viewed clients records, the popup shows all records all clients.
I have attempted DoCmd.open form with the job number link criteria to no
avail.
My job number is currency type (advised so way back).
My attempts include:
stLinkCriteria = "[InvNum]=" & "" & Me![InvNum] & ""
stLinkCriteria = "[ClientID]='" & Me!ClientID & "' and [InvNum]= '" & _
Me!InvNum & "'"
stLinkCriteria = "[InvNum]=" & Me![InvNum]
stLinkCriteria = "[ClientID]='" & Me!txtClientID & "' and [InvNum]= ' & _
Me!txtInvNum & '"
As you can tell, I'm not sure what I'm doing.
Please help?
I have a button beside the record to pull up the details (on popup form -
JobDetails) for a user-selected job viewed on the continuous subform (Jobs
summary). The button wizard is unavailable because of continuous form, I
think.
I am able to open the popup form, but even though the subform shows only the
viewed clients records, the popup shows all records all clients.
I have attempted DoCmd.open form with the job number link criteria to no
avail.
My job number is currency type (advised so way back).
My attempts include:
stLinkCriteria = "[InvNum]=" & "" & Me![InvNum] & ""
stLinkCriteria = "[ClientID]='" & Me!ClientID & "' and [InvNum]= '" & _
Me!InvNum & "'"
stLinkCriteria = "[InvNum]=" & Me![InvNum]
stLinkCriteria = "[ClientID]='" & Me!txtClientID & "' and [InvNum]= ' & _
Me!txtInvNum & '"
As you can tell, I'm not sure what I'm doing.
Please help?