word index in temp-table

Eduard

New Member
def temp-table tt no-undo
field data as char
index wdata is word-index data.
create tt. tt.data = 'Иванов Петр Семенович'.
for each tt where tt.data contains 'Ивано':
message 'yes'.
end.
This code returns 'yes'. Why?
Thanks!
 
Hi,

Have you set a particular word-rules for your DB ?
There is the parameter -ttwrdrul which sepcify the word-rules for the temp-table in your session .

Patrice
 

Eduard

New Member
def temp-table tt no-undo
field data as char
index wdata is word-index data.
create tt. tt.data = 'Иванов Петр Семенович'.
for each tt where tt.data contains 'Семенови':
message 'yes'.
end.
This code does not return 'yes'.
 
Top