I guess this is the right way. I have been doing this with my own
preference files (.txt) and it gives You quick access to the data.
I can't write You the code from that informations you gave, but take a
look at offset, line, the numberoflines etc. - the whole string and text
stuff - in your director help.
regards, Florian
brett wrote:
>
> Hi Everyone ... need a little bit of brain power
>
> I use a SQLString to retrieve data from the following fields out of an
> online database..
>
> Size, Colour, Label, catno, url, Price ,stockId
>
> This string is returned and placed in a text cast member
>
> what I need to do know is format this cast member into a list[s] that mirror
> the structure of the recordset ... I was thinking property lists
>
> ** items = the stock items from the relevent fields **
>
> propList = [#size: [items],#colour: [items], #label: [items], \
> #catno: [items], #url: [items],#price: [items], #stockID: [items]]
>
> this is what I know:
> - that the results from the database are TAB delimited
> - that every 7 items = a row of data from the database
>
> what I don't know:
> - how to create the above propList from the returned results.
> - is this the right solution ?
>
> The reason for using property lists is because there will be search
> implementation later on.
>
> any wisdom and guidance will be forever appreciated.
>
> cheers
>
> b.
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]