>I'm coming from Foxpro and was rather surprised to find that VB5 didn't have a function to perform a sort. It appears to be something that I'll have to add myself. My first question is, can someone confirm that for me? Maybe I'm just missing it??
>
>If I'm right, however, does someone have a prewritten sort function that I can plug into my app? I'm going to need to sort an arrayname(x, y) array and make sure that the x, y elements that are related as they come in stay related to each other. (Hope that's being clear enough -- need more coffee).
If you use ADO, you can create a dynamic recordset (a recordset that you build on the fly). ADO recordsets have plenty of functionalities like Sort, Filter, Find, ...
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com