Hi,
How can i add an ascending number to a variable-name "Prx(Index)".
rsO!night = rsO!night * PctN * Prx(Index) * !number
index can be a number from 1 to 100.
otherwise i have to do this
if index = 1 then
rsO!night = rsO!night * PctN * Prx1 * !number
elseif index = 2 then
rsO!night = rsO!night * PctN * Prx2 * !number
.
.
.
elseif index = 100 then
rsO!night = rsO!night * PctN * Prx100 * !number
End if
Tx in advance
Regards
Michel