Page 1 of 1

Automatic copy between cases

Posted: April 23rd, 2013, 6:18 am
by Adnane
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.

Re: Automatic copy between cases

Posted: April 23rd, 2013, 7:41 am
by Gregory Martin
Look at the response to a similar question here: http://www.csprousers.org/forum/viewtopic.php?f=1&t=638