can't navigate out of current block in enter query mode [message #455384] |
Tue, 11 May 2010 07:03 |
gaurabkaushal
Messages: 1 Registered: May 2010 Location: delhi
|
Junior Member |
|
|
Hi,
I have a form with multiple tabs, each tab showing one data block. Many of the blocks are standard in enter-query mode. I want to allow the users to navigate through the tabs while the blocks are in enter-query mode.how can i do this?
Thanks for your advice,
gaurav
|
|
|
|
|
Re: can't navigate out of current block in enter query mode [message #455422 is a reply to message #455400] |
Tue, 11 May 2010 08:52 |
gregor
Messages: 86 Registered: March 2010 Location: Germany
|
Member |
|
|
Hi,
I don't ask you why, all blocks should be in ENTER_QUERY-Mode.
Here is a solution to show you leaving ENTER_QUERY-Mode :
In the Key-Next-Item-Trigger (if you like next-Block-Trigger)
For Example on the last-Item in the Block1 you can write:
message(:SYSTEM.MODE); -- for debug
if :SYSTEM.MODE= 'ENTER-QUERY' THEN
do_KEY('EXIT_FORM'); -- releases the Enter-Query-Mode
end if;
go_block('BLOCK2');
enter_query; -- todo: Check before if a query is allready done
Note, you have to reset Block1 to enter_query/(or not when a query is allready executed ), when the user does kex-prev-item or
When Tab-Page-CHANGED
|
|
|