Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

searching with setkey

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i'm using this code to search for name and surname.

DataM.TMast.IndexName:='Names';
DataM.TMast.SetKey;
DataM.TMast['p_surname']:=Sname1.Text;
DataM.TMast['o_names']:=Name1.Text;
DataM.TMast.GotoNearest;

Is it possible to use that same code as case insensitive like in locate('','',[LocaseInsensitive])? or is it possible to do this

Uppercase(DataM.TMast['o_names']):=Uppercase(Name1.Text)

I don't want to use locate because it's too slow.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top