Guest_imported
New member
- Jan 1, 1970
- 0
hi,
i'm using setkey to search for a particular surname and names from a table...
DataM.TMast.IndexName:='Names';
DataM.TMast.SetKey;
DataM.TMast['p_surname']:=Sname1.Text;
DataM.TMast['o_names']:=Name1.Text;
DataM.TMast.GotoNearest;
my problem is that eventhough a record exists, it does not go to the nearest match because field 'o_names' contains names in lower and upper case. Is it possible to do this...
DataM.TMast.IndexName:='Names';
DataM.TMast.SetKey;
DataM.TMast['p_surname']:=Sname1.Text;
Uppercase(DataM.TMast['o_names']):=Uppercase(Name1.Text);
DataM.TMast.GotoNearest;
or is there another way rather than locate with locaseInsensitive.
i'm using setkey to search for a particular surname and names from a table...
DataM.TMast.IndexName:='Names';
DataM.TMast.SetKey;
DataM.TMast['p_surname']:=Sname1.Text;
DataM.TMast['o_names']:=Name1.Text;
DataM.TMast.GotoNearest;
my problem is that eventhough a record exists, it does not go to the nearest match because field 'o_names' contains names in lower and upper case. Is it possible to do this...
DataM.TMast.IndexName:='Names';
DataM.TMast.SetKey;
DataM.TMast['p_surname']:=Sname1.Text;
Uppercase(DataM.TMast['o_names']):=Uppercase(Name1.Text);
DataM.TMast.GotoNearest;
or is there another way rather than locate with locaseInsensitive.