Automatic copy between cases

Discussions about editing and cleaning data
Forum rules
New release: CSPro 8.0
Post Reply
Adnane
Posts: 30
Joined: November 22nd, 2012, 4:45 am

Automatic copy between cases

Post 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.
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Automatic copy between cases

Post by Gregory Martin »

Look at the response to a similar question here: http://www.csprousers.org/forum/viewtopic.php?f=1&t=638
Post Reply