|
|
|
Re: Changing a block not base table [message #568669 is a reply to message #568666] |
Mon, 15 October 2012 12:51 |
|
Littlefoot
Messages: 21818 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
How about SET_RECORD_PROPERTY, for exampleset_record_property(1, '<block_name>', status, changed_status) I can't test it, but you might need to loop through all records and set their status to CHANGED_STATUS.
By the way, why would you want to do that?
[EDIT] Didn't see your last message, sorry.
Is it necessary to use a control block for such operations? What's wrong with a database block? They are much better for querying, updating, inserting and deleting records than control blocks as - with control blocks - you have to code all that, manually.
So - did you tell Forms that you want to UPDATE a database record, based on values in a form?
[Updated on: Mon, 15 October 2012 12:53] Report message to a moderator
|
|
|
|
|
|
Re: Changing a block not base table [message #568684 is a reply to message #568675] |
Mon, 15 October 2012 15:27 |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
robson.barata wrote on Mon, 15 October 2012 14:18Ok Joy!
I'll change to base table to simulate the problem again and publish the doubts.
Thank you !
Joy, as in you are happy, because it was Littlefoot who gave the suggestion.
|
|
|