Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASORT() and nFlags parameter

Status
Not open for further replies.

RickSchummer

Programmer
Jan 23, 2003
167
US
I have the following code:

SET COLLATE TO "MACHINE"
ASORT(laViews,-1,-1,0,1)

The reason for the SET COLLATE is to guarantee the sort order is case sensative no matter what. On my machine the information in laViews is sorted fine. On another developer's machine it is not sorted at all. At first I did not have the SET COLLATE and thought the other developer had it set to GENERAL which is not case sensative in sorting.

Anyone know of the other setting which can affect the ASORT() function?

_RAS
Shedding Some Light (blog)
VFP MVP
 
Hi Rick,

Try
ASORT(laViews,-1,-1,0,0)
to get a case sensitive sort.

Regards,
Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top