FOR i = 1 TO oChild.DataParameters.COUNT cPar = oChild.DataParameters.GETKEY(i) xVal = oChild.DataParameters.ITEM(i) * addproperty(oChild, cpar, xval) oChild.ADDPROPERTY(cPar, xVal) ENDFORThis code works as it is now. However, with the commented line used instead of oChild.AddProperty(), it did nothing. The property wasn't added.