NetTalk Central

Author Topic: NetWebBrowse range limits  (Read 1984 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 314
    • View Profile
    • Email
NetWebBrowse range limits
« 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?

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: NetWebBrowse range limits
« Reply #1 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

rupertvz

  • Sr. Member
  • ****
  • Posts: 314
    • View Profile
    • Email
Re: NetWebBrowse range limits
« Reply #2 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?

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: NetWebBrowse range limits
« Reply #3 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.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: NetWebBrowse range limits
« Reply #4 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