NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on July 28, 2014, 09:33:55 AM

Title: How to refresh a browse on a form
Post by: Niels Larsen on July 28, 2014, 09:33:55 AM
Hi Bruce

I have a memory form as wizard with some fields and a browse. I would like to filter the browse based on a value i one of the fields.
On the fields Client-Side i have set the browse to reset. But nothing happens (no refresh)

Can you help?

Regards Niels
Title: Re: How to refresh a browse on a form
Post by: jari@softmade.fi on July 28, 2014, 09:47:05 AM
Hi Niels

Its work fine so what is in your filter -field ?

Jari
Title: Re: How to refresh a browse on a form
Post by: Niels Larsen on July 28, 2014, 11:19:54 AM
It was not quite right. On the browse is there a string as display that is calculated on the basis of a field on the form.
Therefore, I need the browse to get updated.
Title: Re: How to refresh a browse on a form
Post by: terryd on July 28, 2014, 10:37:02 PM
Niels
If your filter has a problem it can sometimes ignore it in which case you will see everything unfiltered or it will filter out everything so it is empty.
You need to put a trace in the Start of Browse Filter embed point :: p_web._trace('loc:filterwas '  & loc:FilterWas) ::  to expose exactly what your filter says.
Title: Re: How to refresh a browse on a form
Post by: Bruce on July 29, 2014, 05:11:17 AM
>> You need to put a trace in the Start of Browse Filter embed point

there's a template option to do this for you these days Terry. Browse settings, bottom of the first (General) tab.

but yes, first thing is to turn that on then post the contents of the filter here.

cheers
Bruce
Title: Re: How to refresh a browse on a form
Post by: terryd on July 29, 2014, 08:42:16 AM
Thanks Bruce I knew that but old school you know, like using last months version of Clarion 9.1 ;-). I only do this when I am looking at the filter only.
By the way love the use of string theory trace in normal Clarion apps, really nice for tracking issues in live sites.