D
deb
Query includes 2 tables:
t040Project (ProjectID PK, ProjectName)
t41ContactsProj( ProjectID PK, ContactSubID SK, ContactID SK, CurrentPMorMgr)
all PK and SK are numeric and CurrentPMorMgr is YesNo)
How can I make the query with the above fields only if there are records in
t41ContactsProj where ProjectID has a ContactSubID =48 and one that =49 and
the CurrentPMorMgr =-1 on both.
example
ProjectID ProjectName ContactSubID CurrentPMorMgr
....1...............ABC.................48....................-1
....1...............ABC.................49....................-1
....2...............EFG.................49....................
....3...............HIJ..................48....................-1
The only records I wnat in the query will be the first 2 because the Project
has ContactSubID =48 CurrentPMorMgr =-1 and ContactSubID =49 CurrentPMorMgr
=-1
Thank you for your help
t040Project (ProjectID PK, ProjectName)
t41ContactsProj( ProjectID PK, ContactSubID SK, ContactID SK, CurrentPMorMgr)
all PK and SK are numeric and CurrentPMorMgr is YesNo)
How can I make the query with the above fields only if there are records in
t41ContactsProj where ProjectID has a ContactSubID =48 and one that =49 and
the CurrentPMorMgr =-1 on both.
example
ProjectID ProjectName ContactSubID CurrentPMorMgr
....1...............ABC.................48....................-1
....1...............ABC.................49....................-1
....2...............EFG.................49....................
....3...............HIJ..................48....................-1
The only records I wnat in the query will be the first 2 because the Project
has ContactSubID =48 CurrentPMorMgr =-1 and ContactSubID =49 CurrentPMorMgr
=-1
Thank you for your help