Automatic copy between cases
Posted: April 23rd, 2013, 6:18 am
Hi,
I found from an example how to automatically copy text in a table (Occurence), the function is as follows:
PROC LNAME { last name }
PreProc
if strip(LNAME) = "" and curocc() > 1 then
LNAME = LNAME(curocc()-1);
endif;
consider this function to automatically copy text that has been entered previously in line table,
my question is : is it possible to do the same role but for diferent cases, that is to say, between an input case and the one that follows for any item ?
for example : I have a group of person to enter and they have the same address, I want to automatically copy this adress without need to repeatedly enter.
I found from an example how to automatically copy text in a table (Occurence), the function is as follows:
PROC LNAME { last name }
PreProc
if strip(LNAME) = "" and curocc() > 1 then
LNAME = LNAME(curocc()-1);
endif;
consider this function to automatically copy text that has been entered previously in line table,
my question is : is it possible to do the same role but for diferent cases, that is to say, between an input case and the one that follows for any item ?
for example : I have a group of person to enter and they have the same address, I want to automatically copy this adress without need to repeatedly enter.