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

Question

Question

Lookup Rules

asked on July 22, 2024

Hello,

I have a form and trying to do lookup rules by using SQL(Stored Procedure) and I don't understand how to get populate on my form so please show me a great example on how to use lookup rules using Stored Procedure ?

Lookup R.JPG
Lookup R.JPG (37.93 KB)
0 0

Replies

replied on July 22, 2024 Show version history

The setup in your screenshot looks fine at the surface level and it should run whenever the source field/value changes.

As long as the value you're using as the input parameter is valid, your column names match the output values, and the account under which it is running has sufficient permissions, it should work.

I think the first step is to execute your stored procedure outside of Laserfiche to make sure it is behaving as intended and outputting the expected columns/values.

Something else worth noting is that unlike queries on tables and views, more than read-only access is required in SQL to execute stored procedures.

1 0
replied on July 22, 2024

As a follow-up to:

Something else worth noting is that unlike queries on tables and views, more than read-only access is required in SQL to execute stored procedures.

I'd also reproduce the issue and then check the Forms event logs to see if there are any SQL-related errors reported at that timestamp like "Insufficient permissions / Access denied" etc.

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

Sign in to reply to this post.