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

Question

Question

Retrieve Range of Values

asked on June 29, 2016 Show version history

Hi,

In forms 10 I use the forms lookup to retrieve values from a database based on three pre-filled fields and the results fill a table as per the number of records. In this case there will be an Autofill button. Now supposing the records in the database are in the thousands, I would not be able to lookup all of them at once. Is there a possibility  of retrieving a range of values, Let's say 20 records at a time or preferably selecting the range you want to retrieve? I have created a stored procedure that can bring up the values based on the four prefilled fields and the range I want, but I do not seem to know how I can fit it into the Lookup page of the form since when I use it the "as new rows" checkbox gets disabled. When I run it it retrieves the data but does not create the row. 

I have attached herein my what I am currently using. Any suggestions will be highly appreciated 

Mark

LookupPge.png
Results.png
LookupPge.png (76.03 KB)
Results.png (10.52 KB)
storedproc.txt (2.33 KB)
0 0

Answer

SELECTED ANSWER
replied on July 4, 2016

Hi Mark, the "as new rows" checkbox is disabled because you use field from a table/collection in the use condition(Range>From). You can put the field outside collection/table, then you will be able to use the "as new rows" function

1 0
replied on July 5, 2016

Hi XIang,

Thanks for the correction. I was able to enable "As new rows" check box. That's great. Thanks a lot

Mark 

0 0

Replies

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

Sign in to reply to this post.