NewEra Supertables and GetChangeFlag()
Posted in 1996
I am using a supertable in free form style. I wanted to have the record apply if the user leave the supertable, so I placed the following code in the AfterRow event for the supertable: Variable ok integer If superTable.getChangeFlag() <> superTable.isOriginal then IF superTable.acceptRow() THEN LET ok = superTable.applyRowSQL(superTable.getRowByNumber(displayMode : ixSuperTable::displayData)) END IF end if After a lot of poking around I found that superTable.getChangeFlag() always returned a zero even if data has been changed in the record. Two questions: First: Is the getChangeFlag supposed to change automaticly when you change data in the supertable? Second: Is there a better way to accomplish this?