> REPLACE styles.onorder WITH styles.onorder + temporder.onorder, ;
> styles.plabel WITH .T., ;
> styles.howmany WITH IIF(styles.categoryid = "8",1,temporder.onorder)
>inside of a SCAN loop. The problem users are seeing is that the
>value of temporder.onorder is not reliably getting written into
>styles.howmany, yet never fails with the REPLACE with styles.onorder.
What do you mean by "not reliably getting written"? Are you getting a blank, the original value, or 1?