I have a add button in my form to add one record in a child table. The following code is executed after the APPEND BLANK. The first WAIT WINDOW is showing 6. The second WAIT WINODW should show 6 as well because we are replacing INOTRX with TRANSACT.INOTRX. Instead, it is showing 0. Both fields are integer. Am I missing something or what? Isn't the second WAIT WINDOW suppose to show 6?
SELECT TRANSDET
WAIT WINDOW STR(TRANSACT.INOTRX)
REPLACE INOTRX WITH TRANSACT.INOTRX
WAIT WINDOW STR(TRANSDET.INOTRX)