Did you mean =: or := in the following line:
("ItemID=:1";$tItemID)
Roger T. Reed
> On Jul 27, 2018, at 3:41 PM, Kirk Brooks via 4D_Tech <[email protected]>
> wrote:
>
> Jeff,
> You know - something wrong. ;-/
>
> Maybe a control char? Chars outside of regular ascii? If it's possible this
> value could have been pasted in from some external text it might have some
> wonky char in it that looked pretty but chokes here. It's happened to me.
> May be impossible there. Agreed it's really annoying.
>
> The fact it's so intermittent suggests to me there's something in the data
> rather than the code. But maybe I've got more crappy data than you do...
>
> On Fri, Jul 27, 2018 at 11:52 AM Jeffrey Kain via 4D_Tech <
> [email protected]> wrote:
>
>> What would you check for? $1 is a text so it will either have a value or
>> be an empty string -- both of which can be queried for. And testing the
>> length of the entity selection prior to trying to access the first()
>> element prevents another runtime error if the query returned nothing.
>
> --
> Kirk Brooks
> San Francisco, CA
> =======================
>
> *We go vote - they go home*
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> 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)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************