smartlist status and changes
TBS
andyh at totallybrilliant.com
Sat Apr 9 21:03:23 UTC 2022
Martin
The first is simply :
If mylist.$smartlist=kTrue
For the second use the filtering that you get with a smartlist :
# Reduce the list to the inserted lines only.
Do mylist.$includelines(kRowInserted)
# Reduce the list to the updated lines only.
Do mylist.$includelines(kRowUpdated)
# Reduce the list to the deleted lines only.
Do mylist.$includelines(kRowDeleted)
And when done to return :
# Restore the list to showing all the lines that would be visible in the normal list.
Do mylist.$includelines(kRowInserted+kRowUpdated+kRowUnchanged)
Hope that helps
Andy Hilton
Totally Brilliant Software Inc
Phone (US) : (863) 409 4870
Phone (UK) : 0207 193 8582
Web : www.totallybrilliant.com
Helpdesk : http://totallybrilliant.kayako.com
Email : andyh at totallybrilliant.com
On Apr 9, 2022, 4:35 PM -0400, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com>, wrote:
> Hi all,How do I tell the status of a smartlist... whether it is true or false? Also, how do I tell the status of a row... whether it has been inserted, updated or deleted? As always, I appreciate all your kind helps.
> Regards, Martin.
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list