Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2712 มุมมอง

Hey all, I've been trying to sort Analytic accounts, but they are sorting in a strange way, unlike the other things.

For EG: I want to sort: 1, 2, 3, 4, 5, 10, 20.
But on Analytic accounts, by using References, it is sorting up as: 1, 10, 2, 20, 3, 4, 5.


Screenshot attached for more guidance: 

http://imgur.com/a/lmTa0

http://tinypic.com/r/153tc0z/9


Any help would be much appreciated. Many Thanks.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

This because References field is char field, and ordering is different from integer field, must put all code with same digits number.

Example convert: 1, 2, 3, 4, 5, 10, 20

To:  01, 02, 03, 04, 05, 10, 20


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
related Many2One field แก้ไขแล้ว
2
ก.ย. 22
2958
0
เม.ย. 24
1250
0
ก.พ. 23
3765
5
พ.ย. 22
7997
1
เม.ย. 16
3645