NetTalk Central

Author Topic: Filtering Nettalk Browse using browse lookup  (Read 3702 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Filtering Nettalk Browse using browse lookup
« 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
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Filtering Nettalk Browse using browse lookup
« Reply #1 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')