Null White
0 White
-1 Finished, grey
1 Exact match, green
2 Fuzzy, magenta
3 Wrong codes, red
4 Locked, yellow
5 Pending, cyan
6 Autopropagated, light green
7 Exact but different codes or numerals, dark magenta
8 Assembled, dark blue
9 Multiexact, dark green
Important: It is not possible to undo a command,
so, you should always select your entries first, check
results, and then execute the command. After deleting
or modifying records, repair your database. Examples below
were posted in the list I have not tried them all.
Use them at your own risk.
A DV user asked me
how to go about selecting (and possibly deleting) records from
an MDB or TDB whose source is all capitals.
SQL Select, MDB:
instr(1,SourceText,Ucase(SourceText),0)>0 and SourceText
like '*[a-z]*'
SQL Select, TDB:
instr(1,SourceTerm,Ucase(SourceTerm),0)>0 and SourceTerm
like '*[AZ]*'
SQL Execute, MDB:
delete from LanguagePairs where instr(1,SourceText,Ucase(SourceText),0)>0
and SourceText like '*[AZ]*'
SQL Execute, TDB:
delete from TerminologyPairs where instr(1,SourceTerm,Ucase(SourceTerm),0)>0
and SourceTerm like '*[AZ]*'
Note 1.
Never run a command (SQL Execute) without selecting the corresponding
subset to verify that the records you had in mind are those that
will be affected.
Note 2.
If you delete records from the database, or otherwise modify records
with SQL commands, don't forget to repair the database afterwards.
This is to let Déjà Vu reindex the text.
For those proficient with SQL: a simple comparison such as
SourceText = Ucase(SourceText)
is not enough, as this condition will always return TRUE.
The key is using instr with 0 as the last parameter, which
forces a binary comparison.
The "and SourceText like '*[AZ]*'" part ensures
that rows contain at least one letter.