Cannon,

If the statement in your code reads exactly as you posted then the error is
in v16r6 syntax checker :-)

The collection member function is ‘orderBy’, capital B. That’s why you get
a runtime error, because ‘orderby’ does not exist.

At this point 4D does not manage class typing properly, so compiler does
not know that your object property is a Collection and thus cannot validate
if ‘orderby’ is a valid member function. Hopefully that will be fixed soon.

HTH
Julio

On Fri, Apr 27, 2018 at 6:26 PM Cannon Smith via 4D_Tech <
[email protected]> wrote:

> Hi Jeff,
>
> Yeah, the ending quote must have been converted by my mail app. It’s a
> proper quote in code.
>
> I _think_ the asc should be inside the double quotes. But I’m just going
> by the examples found at:
>
>
> http://doc.4d.com/4Dv16R6/4D/16-R6/collectionorderBy.301-3690504.en.html.
>
> I don’t really know where else to try putting it???
>
> --
> Cannon.Smith
> Synergy Farm Solutions Inc.
> Hill Spring, AB Canada
> 403-626-3236
> <[email protected]>
> <www.synergyfarmsolutions.com>
>
>
> > On Apr 27, 2018, at 3:20 PM, Jeffrey Kain via 4D_Tech <
> [email protected]> wrote:
> >
> > Well, you have a curly quote in that line of code - maybe that's just a
> mail artifact?
> >
> > Should the asc be inside the double quotes?
> >
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to