Re: Array Grid

"valery_vi" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
I'm sorry. However I can't find question in your message. 
You can use listview according AutoIt help. Moreover, you can adapt 
code of my example ATable from Files/Misc of this group. 

Valery

--- In [email protected], <marx.external@...> wrote:
>
> 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]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.