NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on November 23, 2011, 06:00:51 AM

Title: NetWebBrowse range limits
Post by: rupertvz on November 23, 2011, 06:00:51 AM
Hi Guys,

I am going into a NetWebBrowse from a NetWebForm(Wizard) procedure.
I am creating a new record with a unique "record ID" in the NetWebForm procedure, prior to opening the browse.

From the NetWebForm, I am storing the unique "record ID" in a session variable "A".

How can I limit the NetWebBrowse records to the unique "record ID" created in the NetWebForm?

I have created a local variable in the NetWebBrowse and limit the browse-records to the local variable value.

In the NetWebBrowse procedure, I have tried to set the local variable to my session variable using (p_Web.GSValue), but it doesn't work.

I think I am using the incorrect embed in the NetWebBrowse to load the LOC: value?
Title: Re: NetWebBrowse range limits
Post by: charl99 on November 23, 2011, 06:41:58 AM
Rupert,

In the filter just put 'TheKeyThing' = p_web.gsv('A').

Note your key have to be in quotes.

Cheers
Charl
Title: Re: NetWebBrowse range limits
Post by: rupertvz on November 23, 2011, 06:45:20 AM
Thanks Charl,

We will be using quite a number of records.
probably filter out 50 of 5000

Will the range-limits instead of filter, not make the browse update / display faster?
Title: Re: NetWebBrowse range limits
Post by: terryd on November 23, 2011, 07:33:51 AM
Rupert
The filter and range limit are the same thing. If you do a range limit a filter is created for it.
Title: Re: NetWebBrowse range limits
Post by: Bruce on November 24, 2011, 12:01:18 AM
If you have the book from the WebShop last year, there's a long discussion in there on how best to construct your filter.

cheers
Bruce