A
Annette
I recently reviewed an application that did something cool. For
purposes of explaining, let's say we have three tables. One table
defines case information (caseid, date of the case, case number and
case description). One table contains people involved in the case
(caseid, name, shortname, other supporting information). The last
table contains facts (factid, caseid, date of fact, text of fact).
When typing in the text of fact, in what could be a memo or text
field, and you type the shortname, a link is made back to the people
table of that case.
So let's say you have three people in the people table with short
names of AndersonA, MillerP, JonesS and when you are in the fact table
you enter a fact "AndersonA and JonesS went shopping", and "AndersonA
and MillerP went shopping", links would be made back to the people
referenced in that case. So if later I go to the people table I will
see that AndersonA has 2 facts assigned to him, MillerP has one fact
assigned to him and JonesS has one fact assigned to her. I have seen
this working in an application and as soon as you enter a fact, typing
in "AndersonA" will display as a hyperlink to the people table and as
you are typing the letters it appears that it is searching the people
table as you type because it will auto-complete the text similar to
being in a combobox. The beauty of this is that the field is a text/
memo box but has the relation back to the people table without having
to enter multiple records and assigning.
I understand that I could enter a fact and then assign people to it,
but a fact could have alot of people attached to it and it could be a
lot of data entry.
"AndersonA and JonesS went shopping" with a combo box assigning to
AndersonA AND
"AndersonA and JonesS went shopping" with a combo box assigning to
JonesS
Any ideas?
purposes of explaining, let's say we have three tables. One table
defines case information (caseid, date of the case, case number and
case description). One table contains people involved in the case
(caseid, name, shortname, other supporting information). The last
table contains facts (factid, caseid, date of fact, text of fact).
When typing in the text of fact, in what could be a memo or text
field, and you type the shortname, a link is made back to the people
table of that case.
So let's say you have three people in the people table with short
names of AndersonA, MillerP, JonesS and when you are in the fact table
you enter a fact "AndersonA and JonesS went shopping", and "AndersonA
and MillerP went shopping", links would be made back to the people
referenced in that case. So if later I go to the people table I will
see that AndersonA has 2 facts assigned to him, MillerP has one fact
assigned to him and JonesS has one fact assigned to her. I have seen
this working in an application and as soon as you enter a fact, typing
in "AndersonA" will display as a hyperlink to the people table and as
you are typing the letters it appears that it is searching the people
table as you type because it will auto-complete the text similar to
being in a combobox. The beauty of this is that the field is a text/
memo box but has the relation back to the people table without having
to enter multiple records and assigning.
I understand that I could enter a fact and then assign people to it,
but a fact could have alot of people attached to it and it could be a
lot of data entry.
"AndersonA and JonesS went shopping" with a combo box assigning to
AndersonA AND
"AndersonA and JonesS went shopping" with a combo box assigning to
JonesS
Any ideas?