Search in arrays
m.schonewille at economy-x-talk.com
Wed Dec 9 07:24:07 EST 2015
put gArray[the selectedText of field 1][the selectedText of field
2][the selectedText of field 3] into field 4
(mind line wraps)
Buy the most extensive book on the
Op 12/9/2015 om 10:49 schreef tkuypers at telenet.be:
> I know the following should be possible, but I’m nut used in working with arrays so some help is highly appreciated…
> I have a field containing around 10.000 lines of tab-separated text.
> The first item is a unique ID, row 2 contains the main group, row 3 to 5 contain subgroups and row 6 to 15 contain product info.
> I converted this data to an array and are able to get the keys of the main group. These are shown to the user in a list field.
> But when the user clicks on an item in this field, the next field should show the keys of the first subgroup, belonging to the selected main group.
> And this for all the subgroups afterwards, to refine the selection of products.
> But I have no idea how to filter this array on the selected key…
> Met vriendelijke groeten,
> Warm Regards,
> Ton Kuypers
> +32 (0) 477 739 530
> Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode