NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on October 05, 2008, 02:57:24 AM

Title: Filtering Nettalk Browse using browse lookup
Post by: terryd on October 05, 2008, 02:57:24 AM
Nettalk 431
Clarion 6.3 build 9056
I have a NetWeb Browse on a Stock file which is range limited by e.g. Warehouse.
I have a field in the Stock file which contains  a code for a customer to which the stock is allocated.
My query: I want to only display on the browse those records in the range limited warehouse which have been allocated to a specific customer.
In Standard Clarion I would create a select customer button on the browse allowing me to filter the warehouse to the selected 
customer's records, or else create a window called in the procedure setup embed point and pass a parameter which I would then use to filter the records
How would I do this in Nettalk?
I would like to do this either before the browse displays or to call a lookup on the browse
Title: Re: Filtering Nettalk Browse using browse lookup
Post by: kevin plummer on October 05, 2008, 02:19:27 PM
Before you call the lookup procedure, set your usual parameter as a session variable and then use that as a filter in the lookup window.

Thew filter would look something like this...

'War:Warehouse = ' & p_web.GetSessionValue('Cus:Warehouse')