All,

        Problem as follows:

        I have a table called 'Location', this produces a layer of the same name.
        Three other tables get created as sub-sets of this first table -
Locations_a, Locations_b and Locations_c.

        The user can select one or more locations from one or more of these last
three layers. The result of each selection being used to produce a
concatenated string of the relevant ID numbers. This string is passed to
another application, which displays a single list of all relevant locations,
from all three layers.

        At present, I can see that the code recognises if I select two items from
each of the three layers (since SelectioInfo(SEL_INFO_NROWS) = 6, as
expected). However, if I commit the selection as a table (Commit Table
Selection as "C:\temp\test_Table) only those two items from whichever layer
was last selected will be saved. This means that the concatenated list only
contains two ID numbers, leading to incomplete results being displayed by
the second application.

Does anyone have an idea what code I can use to save all six selected items
to one table? As they all come from the same original table and
SelectionInfo is picking up the correct number of items, I can't help
thinking it must be possible. I just can't work out how to achieve it.

Any help greatly appreciated, as usual.

Matt.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to