Advertisement
| 07.01.2008 at 09:18PM PDT, ID: 23532469 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: |
Public Function OpenLinkForm(xForm As String, yForm As String, xCtl As String, yCtl As String)
' xForm is the the calling form
' yForm is the form to be opened
' xCtl is the control on the calling form to be used as link criteria
' yCtl is the control to link to on the form to be opened
stLinkCriteria '= I need something like where yForm.yCtl = xForm.xCtl
DoCmd.OpenForm yForm, , , stLinkCriteria
End Function
|
Advertisement