NetTalk Central

Author Topic: Filter Field on a Lookup Field  (Read 1847 times)

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Filter Field on a Lookup Field
« on: November 06, 2012, 04:08:48 AM »
Hi Bruce,

I cannot see a Filter on a Lookup Button, and ideally I would not like to put the Filter on the Browse as this will mean I have to create a Browse for each time the filter is different.

Can you please put a Filter on the Lookup Button or suggest how I go about it?

Thanks
Charl


kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Filter Field on a Lookup Field
« Reply #1 on: November 06, 2012, 03:49:00 PM »
You can set conditional filters on the template (see accounts example I think) or just add your own conditions and filters in source code.

It's one of the (many) things I like about NT that I can re-use my browses and I find it easier to just set my own conditions in source code based on a GSV.


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: Filter Field on a Lookup Field
« Reply #2 on: November 06, 2012, 07:06:22 PM »
Charl - what Kevin said.

>>  I would not like to put the Filter on the Browse as this will mean I have to create a Browse for each time the filter is different.

Browses can have multiple filters - based on an external condition. So in this case you can apply a different filter when the browse is in lookup mode.

cheers
Bruce



charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: Filter Field on a Lookup Field
« Reply #3 on: November 09, 2012, 05:31:29 AM »
Yep, thanks.

Why did I not think about it  ???

Cheers