Thanks for your advice:
Background:
I have a database of my patients.
I create an individual file number. (Based on first two characters of last name and reverse dob... called FILE_NUM)
This file number can have an extension (especially if they have a surgery)
Example: John Smith 1/1/1965 is SM650101
His surgery 1 file is SM650101SU1
and this may have several entries (lines)
eg
1. RADIUS fracture surgery
2. ULNA fracture surgery
3. Assistant
etc
I have created an index on LASTNAME+FILE_NUM.. and made it UNIQUE so that when I search for a name and browse... I type in ...SMITH
..It gives me all the SMITHS (that is fine),,, but only one line per episode
eg
SMITH SM650101
SMITH SM650101SU1
SMITH SM650101SU2
and so on...
The problem:
If I edit the SU1 account eg
1. RADIUS fracture surgery (<-- SAY delete this one )
2. ULNA fracture surgery
3. Assistant
so I now have
1. ULNA fracture surgery
2. Assistant
AND then I RE-RUN a search for SMITH ...
..It still gives me all the SMITHS (and that is fine),,, except it loses the SM650101SU1 extension file.
eg
SMITH SM650101
SMITH SM650101SU2
I presume it is because I have not re-indexed,.. and have lost the relevant indexed and stored SM650101SU1 recno()...
HOWEVER altho I could fix it with a REINDEX ....I cant re-index unless I have EXCLUSIVE control of the file... and I cant have EXCLUSIVE control because it is a multi-user environment.
I can fix it by tricking around and adding another line to the entry.. so it looks like this (for example)
1. ULNA fracture surgery
2. Assistant
3. Note - added line to make file visible again
DO a search and SU1 re-appears
SMITH SM650101
SMITH SM650101SU1
SMITH SM650101SU2
I suppose that I could just enter a dud line every time I delete an entry.. but that isnt very slick...
Any more appropriate suggestions ????
Thanks in advance
Foxegg
Background:
I have a database of my patients.
I create an individual file number. (Based on first two characters of last name and reverse dob... called FILE_NUM)
This file number can have an extension (especially if they have a surgery)
Example: John Smith 1/1/1965 is SM650101
His surgery 1 file is SM650101SU1
and this may have several entries (lines)
eg
1. RADIUS fracture surgery
2. ULNA fracture surgery
3. Assistant
etc
I have created an index on LASTNAME+FILE_NUM.. and made it UNIQUE so that when I search for a name and browse... I type in ...SMITH
..It gives me all the SMITHS (that is fine),,, but only one line per episode
eg
SMITH SM650101
SMITH SM650101SU1
SMITH SM650101SU2
and so on...
The problem:
If I edit the SU1 account eg
1. RADIUS fracture surgery (<-- SAY delete this one )
2. ULNA fracture surgery
3. Assistant
so I now have
1. ULNA fracture surgery
2. Assistant
AND then I RE-RUN a search for SMITH ...
..It still gives me all the SMITHS (and that is fine),,, except it loses the SM650101SU1 extension file.
eg
SMITH SM650101
SMITH SM650101SU2
I presume it is because I have not re-indexed,.. and have lost the relevant indexed and stored SM650101SU1 recno()...
HOWEVER altho I could fix it with a REINDEX ....I cant re-index unless I have EXCLUSIVE control of the file... and I cant have EXCLUSIVE control because it is a multi-user environment.
I can fix it by tricking around and adding another line to the entry.. so it looks like this (for example)
1. ULNA fracture surgery
2. Assistant
3. Note - added line to make file visible again
DO a search and SU1 re-appears
SMITH SM650101
SMITH SM650101SU1
SMITH SM650101SU2
I suppose that I could just enter a dud line every time I delete an entry.. but that isnt very slick...
Any more appropriate suggestions ????
Thanks in advance
Foxegg