Array Looping to Insert into Database
pete at lcsql.com
Tue May 14 18:24:31 EDT 2013
On Tue, May 14, 2013 at 2:30 PM, Graham Pearson <gspearson at gmail.com> wrote:
> repeat for each line L in tKeys
> answer info
> gAvailableMarketReceiveTowerDataArray[ReceiveTowers][L]["ID"] with "OK"
> end repeat
I think you missed [@attributes] as a key between [L] and [ID].
I'm guessing you don;t have any control over the format of this array but
just in case you do, I'd be more inclined to do something like this, mainly
to cut down on the number of nested keys:
Address 951 Dixie Highway
Address 245 West Dixie Highway
lcSQL Software <http://www.lcsql.com>
More information about the Use-livecode