Hi,
To overcome this problem after issuing commit_form simply get the Last query criteria from :system.last_query, prepare a where clause,set it as Default where of your block and then write execute_query.
Dima,
Thanks for your input.Even more "natural" way to do this is to set the Block's property "DML Returning Value property" to Yes but has following restrictions:
Restrictions
->Forms uses the DML Returning clause only with an Oracle8 database server. This property is ignored when using a non-Oracle8 server.
->Forms uses the Returning clause with Insert and Update statements, but (currently) not with Delete statements.
->Forms does not use the Returning clause when processing LONGs.
->The updating of unchanged columns is controlled by the setting of the Update Changed Columns Only property, which in turn is affected by the setting of the DML Array Size property.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.