Custom Attribute?
Das Goravani
goravanis at gmail.com
Thu Jan 21 23:47:24 UTC 2021
I figured out a fix for this and implemented it.. that is, DONT put code that doesn’t work during a system quit called destruct.. dont use $destruct.. use Close under $event for catching the close box on the window only.. not catching a system called destruct situation.. in those cases changes are not saved.. so I tell them now not to use that close box but my menu instead
> On Jan 21, 2021, at 1:27 PM, Das Goravani <goravanis at gmail.com> wrote:
>
>
> I have this line of code
>
> Do $ctask.tvO.$singlefilefind(prsavedviewname,#S1)
>
> Now the #S1 is an attempt to get rid of a bug that keeps popping up.
>
> When this line executes, SOMETIMES it pops up an error and says “When evaluating it there is an unrecognized custom attribute”
>
> My method which it names $singlefilefind() takes two parameters, a field name and then a search value, which can be a field again or a value in quotes if text or straight if number.. this method works all over the place and does not say Unrecognized custom attribute all the time.. no it does not. ONLY In this one place.. and usually when quitting the app..
>
> So it usually works, and only bugs out when quitting and only in this one place..
>
> Any ideas why? Is there something about quitting the app that makes your code stored in Objects not work correctly? tvO is an object, a task variable Object.. again this line of code works ALL OVER the place in my app and it doesn’t make sense why it doesn’t work here.
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list