NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: charl99 on November 06, 2012, 04:08:48 AM

Title: Filter Field on a Lookup Field
Post by: charl99 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

Title: Re: Filter Field on a Lookup Field
Post by: kevin plummer 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.

Title: Re: Filter Field on a Lookup Field
Post by: Bruce 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


Title: Re: Filter Field on a Lookup Field
Post by: charl99 on November 09, 2012, 05:31:29 AM
Yep, thanks.

Why did I not think about it  ???

Cheers