I'm creating a legal form that contains:
Case Specifics:
- Case Number
- Office Number
- Court Location
- Other Part Lawyer
- Lawyer Phone Number
Plaintiff Info:
- Name
- Address
- Phone
Defendant Info:
- Name
- Address
- Phone
The tables:
tblMain:
- tblMainCaseID – AutoNumber - Key
- tblMainCaseNo – Number
- tblMainOfficeNo – Number
- tblMainLocation – Text
- tblMainLawyer – Text
- tblMainLawyerPhone – Text
- tblMainEmail – Hyperlink
- tblClientsID – Number
tblClients
- tblClientsID – AutoNumber – Key
- tblClientsName
- tblClientsAddress
- tblClientsPhone
- tblClientsEmail
Relations: tblClients_tblClientsID – tblMain_tblClientsID – One to Many
Now, a client can be Defendant in a case, and a Plaintiff in another, it
doesn't make sense to make two tables, the same client could be duplicaded
that way. But since I have a single client table to represent both Defendants
and Plaintiffs I could create a Plaintiffs section on the mainform to be
controled by lookup technique but I can't do the same for the Defendants and
the Main form needs sections to represent both.
I tried creating two queries of tblClients with different names and then creating
Plaintiffs and Defendants sections based on the queries but it didn't work.
I also tried ducplicating the Plaintiffs section in the main form and then changing
its control source, but I didn't even finish. It gave me a few errors.
Any thoughts?
-JC