Skip to Content
0
Former Member
Oct 18, 2006 at 05:27 PM

Formatted Search and Item Events

42 Views

Hi,

I am having a huge problem with using Formatted Search and Add-Ons.

On the Sales Order Form I have a Formatted search Setup on the Customer Reference Number, it is set to Auto-Refresh when the CardCode changes. This is the only Formatted search on this form and it works fine.

However, when I run my Add-On, and enter an Item Code it takes about 30 seconds to display the Item Description. In tracing my Add-On it appears to call the Item Event et_GOT_FOCUS on the Item Code Column I just entered over 50 times. I don't use other events, but for testing I did turn on all events and the only other event it occured with was et_LOST_FOCUS.

If I turn off my Add-On or turn off Auto Refresh on the Formatted search everything runs as it should.

I figure the Auto Refresh of the Formatted search has something to do with this, but I need to have this turned on. Another thing is that it only seems to call this event when Before Action = false, It does not seem to be called on Before Action = True.

Can I disable the Formatted search temporarily from within my add-on or is there something else I need to do to keep this from happening.

Thanks for Any Help

Paul