when field processing

Nancy Palmquist nlp at vss3.com
Tue Aug 10 14:41:24 PDT 2004


Jeremy Anderson wrote:

> Is there a label for when-field processing that will determine if the 
> record is being saved?
> I can add in the @sk="SAVE" test to _every_ @wlfXX label, but that's a 
> bunch of work.
> It'd be a lot nicer from my point of view if I could just set up
> @wsr:if @sn="ordchg"; form "Psliprpt";end
> 
> (Where @wsr means "When Saving Record")
> 
> Thanks for your earlier tip, John.  You were right, the code was never 
> being executed (but, of course, you knew that already).
> 

@wlfXX	Do what ever you want then add a line
	goto saveit
saveit	do whatever you might want to do when you pressed SAVE
	if @sk eq "SAVE"
	then do something
	else display;end
	
Before you guys get all excited - there is no else command I just did 
that to make the point.

Other choice:

@wlf*	This is the wild care when leaving and would work for any field 
that does not have specific @wlfNN listed.


Nancy

-- 
Nancy Palmquist
Virtual Software Systems
PHONE: (412) 835-9417			Web site:  http://www.vss3.com



More information about the Filepro-list mailing list