NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on December 02, 2014, 11:44:15 PM

Title: How do I not to display a row not using a filter
Post by: terryd on December 02, 2014, 11:44:15 PM
I have a browse on Claim table which is a child of a form.
It is filtered based on the value in one of the fields (CLA:ImageExists Yes/NO) which works fine.
However I would like to additionally restrict  on a value which is in a parent file of Claim.
I can't do this in the filter because at the time of creation of the filter I am not accessing the related parent file record.
What I need to do is something like the RECORD:Filtered return value which we use in standard Clarion after the call to PARENT:ValidateRecord.
Is there anyway to do this in the ValidateRecord embed point?
Title: Re: How do I not to display a row not using a filter
Post by: Robert Iliuta on December 02, 2014, 11:56:35 PM
Hallo Terry,

try this in ValidateRecord:

if CLA:Images = 1 then CYCLE.

Robert
Title: Re: How do I not to display a row not using a filter
Post by: terryd on December 03, 2014, 12:25:35 AM
Thanks Robert
I'll give it a go.
Title: Re: How do I not to display a row not using a filter
Post by: terryd on December 03, 2014, 03:31:54 AM
Hi Robert thanks

That worked 100%
Much appreciated