I want to contruct a loop to process ten fields
for a 1 to 10
SELECT temp2
IF !empty(temp2.addr_1)
SELECT TEMP_1
REPLACE TEMP_1.Place1 with temp2.addr_1
ENDIF
endfor
I want the addr_n and Placen to be substituted instead of using 10 statements as at present.
Many thanks
PW
for a 1 to 10
SELECT temp2
IF !empty(temp2.addr_1)
SELECT TEMP_1
REPLACE TEMP_1.Place1 with temp2.addr_1
ENDIF
endfor
I want the addr_n and Placen to be substituted instead of using 10 statements as at present.
Many thanks
PW