Delphi/Oracle: TTable Sorting!

From: <sl6gs_at_cc.usu.edu>
Date: 1995/08/24
Message-ID: <1995Aug24.154649.59655_at_cc.usu.edu>#1/1


 

I wrote the flwing code for sorting records by last name as follwing Procedure
  with customerform do
   with customerTbl do
   begin
   indexFieldNames :='LName';
active :=true;
  setkey;
  FieldByName.(Lname').asString :='A';
  GoToNearest;
end;  

  My Customer Table stored in Oracle database. MY question is:   How to sort the customer by both LName and FName.   Are there any other ways to do sort using TTable?  

  Any suggestions?

  Thanks!

Wei JIang Received on Thu Aug 24 1995 - 00:00:00 CEST

Original text of this message