Diana
Diana

Reputation: 11

How to use display method as field in the query

I need query with 2 fields - InventTable.ItemId, and InventTable.itemName(). How to add/use InventTable.itemName() in the query?

Upvotes: 0

Views: 4656

Answers (1)

Maixant
Maixant

Reputation: 81

InventTable.itemName() is not a field of that table, is a method. You always should search the real field underneath, add the related tables to the query and then add the field to that query, whichever it is.

Upvotes: 1

Related Questions