Array Grid
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <C3339561D7B7F246B51D79A63BA14BEC0108EDAE@drsse603.eu.infineon.com> |
Hey gang, I have something that has me a bit stumped. I have an app I am writing. In that app there are ~500 data items. Each of these data items contains 7 points of information. I was trying to get them into a grid array of some sort. I am able to get them into a list view but I cannot find a command to let me search one of the columns for a particular target. The data is coming from a SQL query. Originally I was just performing on the fly queries for each bit of data as I needed it but it caused delays in the GUI. So I thought I would pre-load the data and then manipulate that array to get the pieces I need when I need them. My data is coming from an OSQL query that dumps to a txt file with "|" as the separator. I then 'filereadtoarray' that txt file and strip the junk off the beginning and the end. I have considered keeping it as a compressed string in one array element per line 'data|tag1|tag2|tag3|tag4...' but this would require splitting the line every time I need to get any piece of it. The list view seemed like a great way to do it but like I said I cannot seem to find a command similar to '_GUICtrlListFindString' that works with list view. So I thought to create a grid that was $Variable[100][6] so it would be: $Variable[1][1] = data $Variable[1][2] = tag1 $Variable[1][3] = tag2 $Variable[1][4] = tag3 $Variable[1][5] = tag4 ... Any ideas? Thanks! [Non-text portions of this message have been removed]