Hi all,
I have a need to sort a fixed-record length file (not an array), based on one or more sort criteria which need to be specified by the byte location and field length. For example, the file contains fixed-length records with a surname field that starts at say, byte 24 and is 30 bytes long.
I need every record sorted alphabetically based on these parameters and written back to that (or another temporary) file.
Does anyone know of a VBX or DLL that works with VB3 that will allow for this? Or perhaps you have a bit of magic code that will do it?
Any help is appreciated.
Regards,
Stu.
I have a need to sort a fixed-record length file (not an array), based on one or more sort criteria which need to be specified by the byte location and field length. For example, the file contains fixed-length records with a surname field that starts at say, byte 24 and is 30 bytes long.
I need every record sorted alphabetically based on these parameters and written back to that (or another temporary) file.
Does anyone know of a VBX or DLL that works with VB3 that will allow for this? Or perhaps you have a bit of magic code that will do it?
Any help is appreciated.
Regards,
Stu.