G
Guest
Hi everyone! Using A02 on XP. I have a link that (with help) works great.
Now I need to link to 2 fields. I have 2 fields [TPAID] and [TPAContactID].
Each record has both completed. TPA ID is for the TPA Company info and TPA
Contact ID is for info on an employee of the TPA Company that is assigned to
that case. One TPA Company might have 6 different employees working our
cases. So [TPAID]=62 might have [TPAContactID]=16, 26 and 53 (for John, Jane
and Joan).
How do I add a second 'link'? Here is what I have:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "TPA-Address-Form"
stLinkCriteria = "[TPAID]=" & Me![TPAID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Would love it if someone could help on this. BTW - both fields are numbers
rather than text.
Thanks in advance for any help or advice!!!
Now I need to link to 2 fields. I have 2 fields [TPAID] and [TPAContactID].
Each record has both completed. TPA ID is for the TPA Company info and TPA
Contact ID is for info on an employee of the TPA Company that is assigned to
that case. One TPA Company might have 6 different employees working our
cases. So [TPAID]=62 might have [TPAContactID]=16, 26 and 53 (for John, Jane
and Joan).
How do I add a second 'link'? Here is what I have:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "TPA-Address-Form"
stLinkCriteria = "[TPAID]=" & Me![TPAID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Would love it if someone could help on this. BTW - both fields are numbers
rather than text.
Thanks in advance for any help or advice!!!