SETCURRENTKEY

Does anyone know a way to specify a sort order such as ascending or descending using the SETCURRENTKEY command or any other for that matter? Running a report and printing from an integer data item and need to allow a sorting selection for a temporary table. Any Help is appreciated

Hello Jack, Try This : YourTable.SETCURRENTKEY(FieldX, FieldY, FieldZ); YourTable.ASCENDING(TRUE); You already had the answer in your question [;)] Cheers, Tarek

But, when you use temporary table in repors, only have primary key Best regards from bcn Salut!

Product specific questions should be asked in the product specific groups, please…

Hi,

I have the same problem, but my question is can we sort a TEMPORARY TABLE? hoping for your reply.Thanks