![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all,
OK, next question from this project that slowly is getting out of hand ![]() I have a file that is built up like keyC=>key1, keyA=>key2, keyB=>key3 etc (PHP-style) I cannot attach it as it is 280 kb in ZIP-format ![]() It is sorted on the "number" keys. How can I sort it on the A,B,C keys, keep the relation with the "number" key, and write this back to the same file? All help appreciated....... Thnx Marc Last edited by Stellaferox : 02-23-2008 at 09:56 PM. |
|
||||
|
Yes using the listview lib, it can...
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
as far as I can tell, it works the same as the table controls with a few teaks...
sMost of the props are the same....so it should be able to deal with any file lenght, limited only by the memory allocation...
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
As I understand the help file (looking at the "tablesort" in the main help):
Quote:
specci48 |
|
||||
|
I personally like Specci48's approach best, but instead of writing back to the file manually, I would copy the sorted table across to another table and then use Table.SaveCsv to save the sorted data straight to file.
Regards, RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD. Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD. "Defeat never comes to any man until he admits it."Josephus Daniels |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SORT / TRIM Table(CSV) | sintaq | Questions & Help Needed | 1 | 03-24-2008 10:52 AM |
| Table sort / date | bob | Questions & Help Needed | 1 | 11-16-2007 09:15 AM |
| Please Include Some Sort Of Help File | Cableguy | Share Your Creations | 2 | 08-11-2007 11:47 AM |
| Sort with SQL | JJM | Questions & Help Needed | 1 | 06-07-2007 02:03 PM |
| Table Sort Problems | RandomCoder | Questions & Help Needed | 21 | 05-22-2007 09:43 PM |