Sujit,

The 4D Method to look at is SET FIELD TITLES

  // ### jwm ### 20171205_1658

  // Alphabetically sort Field Names for 4D dialogs

vi2:=Get last table number

For (vi1;1;vi2)

ARRAY TEXT(atFieldNames;0)

ARRAY LONGINT(aiFieldNumbers;0)

GET FIELD TITLES(Table(vi1)->;atFieldNames;aiFieldNumbers)

SORT ARRAY(atFieldNames;aiFieldNumbers;>)

SET FIELD TITLES(Table(vi1)->;atFieldNames;aiFieldNumbers;*)

End for 


Thanks,

Jim Medlen
Computer & Information Systems
Functional Devices, Inc.
[email protected]
phone (765) 883-5538 x 428
fax (765) 883-4262
http://www.functionaldevices.com

This email was transmitted on 100 percent recycled electrons


From:  4D_Tech <[email protected]> on behalf of
"[email protected]" <[email protected]>
Reply-To:  <[email protected]>
Date:  Thursday, February 15, 2018 at 9:53 AM
To:  <[email protected]>
Subject:  4D_Tech Digest, Vol 129, Issue 26

Message: 6
Date: Thu, 15 Feb 2018 10:14:50 +0000
From: Sujit Shah <[email protected]>
To: 4D iNug Technical <[email protected]>
Subject: Sort Tables and Fields in QR editor
Message-ID:
<CAJz_i=bzbbonk3d8h6ch6ydfejmxqvnshbfv0mwuqzwt6vx...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

I remember this was discussed before but cannot seem to find the thread

Anyone?



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to