You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Show message until Lookup Completes

posted on April 26, 2018 Show version history

I have a table that is filled with a lookup (pretty standard there). This completes relatively quickly.

There is then a second lookup that runs a stored procedure. This lookup copies the data from the previously populated table to a SQL table. This slows the form down considerably. Sometimes causes a "Tab is running slow, do you want to kill it" message.

This is the secondary lookup..

Initially, I thought I could just hide (and ignore the values) of the 'EventID' field and hoped that the lookup wouldn't fire until it was shown again.

I'm trying to figure out a way of triggering the second lookup only when the user selects 'Yes' from a dropdown.

Here is the form as it looks now...

If I can't speed up the secondary lookup or trigger it on 'Yes', I need to show a "Data is loading, Please wait message" until the second lookup completes. Any ideas how? I can't work out how to show a Custom HTML message that would be triggered by the secondary lookup (as it doesn't fill in field values)

Any thoughts or suggestions would be appreciated.

I can supply more information if needed too.

0 0
replied on April 27, 2018 Show version history

Hi Jonathan,

Your lookup rule didn't have "Show Auto Fill Button" checked: in this case, everytime you filled a column it would trigger the lookup rule once. Since your rule was used to save data into database, it might save more rows than you would expect.

If you enable the "Show Auto Fill Button", the rule would only be triggered when clicking the auto fill button. In this way you could use your custom script to control the lookup trigger. And it would be faster since you have less lookup calls.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.