How to clear 2 blocks present on the same canvas canvas using clear_block built_in....Also it shouldnt ask me for "Do u want to save the records?"
I used ...
this will only clear one block in that canvas ..how do I clear the other block present in the same canvas without asking for prompting me to save?
Please at me know at the earliest.
Nothing to worry much. Try this:
If you are having a Master-Detail relationship between these two blocks, then be sure to clear the details block first and then the master block.
Hope this helps.
And after clearing the second block you may want to come back to the first block by adding another line:
Otherwise the control stays in the second block.
in order to clear 2 blocks present on the same canvas
u can write a when-button-pressed trigger in which the code will be
Lets assume that the first block name is B0 and the second one is B1.
Then in that case, just write