Probably due to my incomplete understanding of the rowset internal
mechanisms, I am facing a behavioral issue when trying to use 2 rowsets
simultaneously.

Let's first make the case:
I want to display a sophisticated list of promotional rates for a list of
hotels. The rates list should be wrapped in the hotels list.
Ie
1. hotel1
    1.1 Rate 1
    1.2 Rate 2
2. hotel2
    2.1 Rate 3
    2.2 Rate 4

If two RowSets are relying on the same table, you cannot do something like this with non-cached RowSets:

query [table]
make RowSet1
query [table]
make RowSet2

RowSet1 will no longer be valid, because its selection has been killed. This is one case where you have to use cached RowSets.

You also have to watch out for automatic relations changing the selection of a table that a RowSet is based on. In such cases you either have to use a cached RowSet or you have to save and restore a named selection.

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to