Prev: bBrowser and displaying values
Next: DevShare
From: Geoff Chambers on 23 May 2010 13:48 I have a table with values for a column can be: 'L' 'E' 'M' 'S' I would also like them to sort this way currently they sort in alpabetical order' 'E' 'L' 'M' 'S' Is their a function that would return the desired result
From: John Martens on 23 May 2010 13:52 I would say that you should add a sort field where you can do this. In index keys I think you can only use standard VO funtions. Op 23-5-2010 19:48, Geoff Chambers schreef: > I have a table with values for a column can be: > > 'L' > 'E' > 'M' > 'S' > > I would also like them to sort this way currently they sort in > alpabetical order' > > 'E' > 'L' > 'M' > 'S' > > Is their a function that would return the desired result
From: dlzc on 23 May 2010 14:14 Dear Geoff Chambers: On May 23, 10:48 am, Geoff Chambers <gchamber...(a)msn.com> wrote: > I have a table with values for a column can be: > > 'L' > 'E' > 'M' > 'S' > > I would also like them to sort this way currently > they sort in alpabetical order' > > 'E' > 'L' > 'M' > 'S' > > Is their a function that would return the desired result Sorry for the Clipper-ese... How about SORT ON at( cSortField, "LEMS" ) .... simple and the custom key is available to all applications David A. Smith
From: Geoff Schaller on 23 May 2010 18:31 Geoff, Why do you say this is a 'custom' sort? Isn't it just purely alphabetic? This is automatic with bArrayServer and a no brainer for DNF and SQL. Geoff "Geoff Chambers" <gchambers02(a)msn.com> wrote in message news:33e5515a-94db-4a14-9642-a33cddb3f679(a)40g2000vbr.googlegroups.com: > I have a table with values for a column can be: > > 'L' > 'E' > 'M' > 'S' > > I would also like them to sort this way currently they sort in > alpabetical order' > > 'E' > 'L' > 'M' > 'S' > > Is their a function that would return the desired result
From: Stephen Quinn on 23 May 2010 19:18
Geoff > Why do you say this is a 'custom' sort? It's a custom sort wanted > Isn't it just purely alphabetic? He wants the 'LEMS' order not the 'ELMS' order. CYA Steve |