- Local time
- Today, 05:00
- Joined
- Feb 19, 2002
- Messages
- 45,328
Why is the note in a child table? Will you have future notes regarding the incident? How so you know this isn't an existing incident and you need to find it so you can add the note to the correct parent?How would you handle this? More info is forthcoming through this call but not immediately...
Your design is not well thought out. Without knowing more about the process, it is hard to offer a better table design. From what you've said, I would use a single table and embed the note in it. If this really is a parent/child relationship, eventually the caller will get to the "parent" information and you can enter it in the note. So, essentially you are doing the data entry directly into the child record and are manually creating the FK to the parent if there is one. In this scenario, there could be stand alone note records that don't link to any "parent".
Can you tell us what the "parent" is and why you are not calling up the parent first so you can see the other notes?