No current list selected using $define in Studio 5.2.3

David Barnett David at FairLibertysCall.com
Wed Apr 10 18:40:52 EDT 2013


Ah! For that you would have to use OmniSQL, set up a table against  
the file class and $fetch directly. (or something kind'a like that)

So for you want to do, you will have to explicitly set the current  
list before doing a build list into it.

David

David Barnett                   David at FairLibertysCall.com
C: 516-398-8668                  www.FairLibertysCall.com




On Apr 10, 2013, at 5:24 PM, <brian at revolution911.com> wrote:

> Hello David,
>
> I think I found the problem.  I used a build list command which  
> caused there
> to be a current list selected.  I don't suppose they have made a
> $buildlist() notation? :)
>
> -----Original Message-----
> From: omnisdev-en-bounces at lists.omnis-dev.com
> [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf Of David  
> Barnett
> Sent: Wednesday, April 10, 2013 2:10 PM
> To: OmnisDev List - English
> Subject: Re: No current list selected using $define in Studio 5.2.3
>
> That is not a bug. The new Studio-style list commands, like list.
> $define or list.$search, does not depend on the 'current list' at  
> all. They
> do not require the current list to be set. They do not use it at  
> all. So try
> to get used to using them. There is very little that you can do  
> with lists
> that require the 'current list' and the older commands that depend  
> on it any
> more.
>
> What exactly are you doing that requires the current list being set.
> Possibly we can suggest an alternative using the newer list commands.
>
> David
>
>
> David Barnett                   David at FairLibertysCall.com
> C: 516-398-8668                  www.FairLibertysCall.com
>
>
>
>
> On Apr 10, 2013, at 4:37 PM, <brian at revolution911.com>
> <brian at revolution911.com> wrote:
>
>> Anyone know of bug inside of Studio 5.2.3 which is not recognizing
>> List.$define() as setting the current list?  You are not suppose to
>> use the 'set current list' if you are using $define.  However, inside
>> the remote form with the webclient, I'm occasionally getting the  
>> error
>> that a current list is not selected.
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list