D
deb
I have a form called f40projectMain(PK ProjectID) that has a CONTINUOUS
subform called f4ProjContacts. The form f4ProjContacts uses record source
that is the table t41ContactsProj(PK ProjectID and ContactSubID and
ContactID).
How can i check for dupes if ContactSubID= 48 or 49 and Current field =yes
per ProjectID?
There can be multiple ContactSubID= 48 or 49 if Current field =null or ""
or there can me multiple other ContactSubID's.
The Current field only pertains to ContactSubID 48 or 49 all other
ContactSubID's the Current field will be null or "".
ProjectID................ContactSubID.......ContactID...Curren
...1...............................48........................3...............ye
...1...............................49........................4...............yes
...1...............................49........................6..............
...1...............................48........................2...............yes this is a dupe (see below
...2...............................48........................4...............yes
...2...............................30........................3...............
...2...............................30........................6...............
this is a dupe since there is already a ContactSubID=48 that has Current
=yes for that particular project.
Translated...
ProjectID................ContactSubID.......ContactID...Current
...abc123......................Manager..............Ann...............yes
...abc123......................ProjMgr................Bob...............yes
...abc123......................ProjMgr................Jim...............null
or ""
...abc123......................Manager...............Sue...............yes
this is a dupe
...def345.......................Manager..............Bob................ye
...def345.......................Intern..................Ann...............null or "
...def345.......................Intern..................Jim...............null or ""
I really need your help!!
subform called f4ProjContacts. The form f4ProjContacts uses record source
that is the table t41ContactsProj(PK ProjectID and ContactSubID and
ContactID).
How can i check for dupes if ContactSubID= 48 or 49 and Current field =yes
per ProjectID?
There can be multiple ContactSubID= 48 or 49 if Current field =null or ""
or there can me multiple other ContactSubID's.
The Current field only pertains to ContactSubID 48 or 49 all other
ContactSubID's the Current field will be null or "".
ProjectID................ContactSubID.......ContactID...Curren
...1...............................48........................3...............ye
...1...............................49........................4...............yes
...1...............................49........................6..............
...1...............................48........................2...............yes this is a dupe (see below
...2...............................48........................4...............yes
...2...............................30........................3...............
...2...............................30........................6...............
this is a dupe since there is already a ContactSubID=48 that has Current
=yes for that particular project.
Translated...
ProjectID................ContactSubID.......ContactID...Current
...abc123......................Manager..............Ann...............yes
...abc123......................ProjMgr................Bob...............yes
...abc123......................ProjMgr................Jim...............null
or ""
...abc123......................Manager...............Sue...............yes
this is a dupe
...def345.......................Manager..............Bob................ye
...def345.......................Intern..................Ann...............null or "
...def345.......................Intern..................Jim...............null or ""
I really need your help!!