
Originally Posted by
pbaldy
My approach wouldn't change. I'd have a table for offenders and a table for offenses, related one-to-many on the offender ID. There would likely be other tables for other things, but those are the tables relevant to this discussion.
The common approach for making sure an offender is in the offenders table is with the previously described combo box. You use the not in list event along with setting the limit to list property to yes. The limit to list property means you can only enter/select people who are in the offenders table. If you enter someone who isn't, the not in list event steps in and asks the user if they want to add that person to the offenders table. The user would say yes, a secondary form (bound to the offenders table) would pop up allowing them to add the appropriate info, and then take them back to the original form so they can add the info about the offense. Searching for "notinlist" should find code for those methods here.