My Assistant
![]() ![]() |
|
|
Jul 2 2011, 12:56 AM
Post
#1
|
|
|
UtterAccess Guru Posts: 721 From: Lusaka,Zambia |
Hi,
I need help to open a details form based on two criteria. What I have is a form with a treeview control desplaying a hierrachy relationship between parent nodes (Persons Names) and child nodes (Offences). Selecting an Offence under a particular person reveals some offence's details on the other side of the form where I now wan't to include a button to opend a pop up form linked to that particular offence (PersonOffenceID) Initially, the following would only open a form based on one criterial (PersonsID); so I what to include in it another criteria for PersonOffenceID CODE stLinkCriteria = "[PersonID]=" & Me![PersonID] I will appreciate your help. josephbupe |
|
|
|
Jul 2 2011, 03:46 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 17,607 From: Don Mills, ON (Canada) |
CODE stLinkCriteria = "[PersonID]=" & Me![PersonID] & " AND [PersonOffenceID] = " & Me![PersonOffenceID] |
|
|
|
Jul 2 2011, 04:53 AM
Post
#3
|
|
|
UtterAccess Guru Posts: 721 From: Lusaka,Zambia |
Thank you Doug.
It worked very well. Warm regards. |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 18th May 2013 - 03:38 AM |