I use this construct with Enhanced Grids:
 
-- Sort table by District
PROPERTY vciKCMOFeaturesBase SortASC 'CouncilDistNo'
RETURN
 
I primarily use ascending sorts but I believe “SortDesc” should work the same 
way; also, I always use columns names rather than column number, this way I 
don’t have to check with which column I am working . Have you tried removing 
one or both “REFRESH” lines?
One more thing, be sure your component ID does not have a blank at the end. 
When you paste into the component ID box, the Editor adds a blank at the end 
and it is/was a nightmare to find it…ask me how I know. I have not checked 
recently and I am not sure it still does this. You ca also try:
 
PROPERTY TABLE YourTableName 'RestoreOrderBy'
 
To restore it to the original sort and then run your sort PROPERTY command. 
Lastly, try running the sort command line twice in a row, you never know what 
might happen. 😊
 
Javier,
 
Javier Valencia, PE
913-915-3137
 
From: [email protected] <[email protected]> On Behalf Of Doug 
Hamilton
Sent: Sunday, September 5, 2021 5:17 AM
To: R:Base List <[email protected]>
Subject: [RBASE-L] - PROPERTY SORTASC doesn't
 
PROPERTY <Component ID> SORTASC '0'  sorts Descending instead of Ascending - 
see screen shot of TRACE below.
The object is an Enhanced DB Grid, ComponentID - EDBG_PT, on a temp table, 
tSHPT.
'0' is zero, not alpha Oh.
Using column name instead of index - same results.
True of other columns - they sort DESC instead of ASC.
Manually clicking column header sorts ASC/DESC as expected



Form got trashed?
Any suggestions?
RB X.5E  20812

TIA,
Doug


 
  _____  


 <https://www.avast.com/antivirus> 
This email has been checked for viruses by Avast antivirus software. 
www.avast.com <https://www.avast.com/antivirus>  



-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/5a0395fb-9401-32dc-29da-17c9b86a00c3%40wi.rr.com
 
<https://groups.google.com/d/msgid/rbase-l/5a0395fb-9401-32dc-29da-17c9b86a00c3%40wi.rr.com?utm_medium=email&utm_source=footer>
 .

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/!%26!AAAAAAAAAAAYAAAAAAAAAG1gU%2BA71stIig71BAFnx9iihQAAEAAAAEYyaJ5B86FGsJrE8Z0udbEBAAAAAA%3D%3D%40vtgonline.com.

Reply via email to