Development Question: Custom LookUps

TomasTomas Member Posts: 420
Hi, Experts,

I have encountered interesting situation when doing development for custom lookups. Basically, if you define “TableRelation”, default NAV lookup takes place. However, if for the same field, you add code to “OnLookup()”, custom lookup takes place.

Both options work very well on forms.

However, if we run table directly, and then test lookups, then only first option (default NAV) works. But when using custom lookup directly in table, it is still displaying lookup form, however no value is returned when you select entry on a lookup form.

This becomes a pain when we want to lookup from report’s request form (because then, it is the same as looking up directly from table - therefore no value is returned).

Have anyone found a fix for that?

Comments

Sign In or Register to comment.