Quantcast
Channel: Script to Change order of Attributes within an Entity
Viewing all articles
Browse latest Browse all 2

Script to Change order of Attributes within an Entity

0
0

Hi Sandy,

See attached script: MovePKAttributes.txt (1.8 KB)

I use Move method from Attributes list in this script.

Other way is using this:

 Attributes.InitSort();
 var temp = Attribute1.Ordinal;
 Attr1.Ordinal = Attr2.Ordinal;  
 Attr2.Ordinal = temp;            
 Attributes.Sort(); //command to sort list by Ordinal value

Regards,

Mario

Read full topic


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images