I am working on a database to be used for auditing medical groups.
TABLE:DETAILS contains these fields:
[Review ID] (autonumber)
[Date]
[Auditor]
50 group fields [1] through [50] each a combo box that pulls from the
same list of 100+ groups
Each group is audited by reviewing 10-20 patient records. This
information is stored in TABLE:WS and contains the fields:
[ID] (autonumber)
[Review ID] links to TABLE:DETAILS (many-one)
[Group] contains value from one of the fields [1] through [50]
Other fields
The problem I am running into is that I can open the form where
[Review ID]=[Review ID] and [Group]=[1], etc. for each one, but it
will only show existing records, not add new records with both the
[Review ID] and [Group] assigned. Instead, I get a no related record
error message.
This is what I am using:
stLinkCriteria = "[Review ID]=" & Me![Review ID] & " And [Group]='" &
Me![1] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
The form has a subform and BOTH are from TABLE:WS using [Review ID]
and [Group] as link criteria.
I know it's awkward to have each group as a different item on the
Details table and then equal the same value in the WS table, but with
such a large number varying every month, I really couldn't see a
better way to do it.
I'm usually pretty good at reading existing answers, but this one has
me stumpted. Any suggestions?
Thanks! April (ap****@scanhealthplan.com)