OK, I tried some TQL tomfoolery, and I've been slapped down...

myQuery = getTransfer().CreateQuery("from widgets.widget where
designerkey = :dkey");
myQuery.setParam("dkey", GetAuthUser(), "numeric");
myList = getTransfer().listByQuery(myQuery);

And I get a complaint that "The 2 parameter of the Left function,
which is now -1, must be a positive integer"...


On Dec 23, 2:06 pm, Ken Cummins <[email protected]> wrote:
> It there an easy way to filter a query based on a value of a m2o key?
>
> I'd like to be able to listByProperty("widget", "widget.designerkey",
> userID) to get all the widgets designed by the user.
>
> But because designerkey is defined as a m2o foreign key, it throws
> errors.
>
> What basic piece of information am I missing?  What first-day-on-the-
> job insight am I blind to?
>
> Ken
--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to