Home » Developer & Programmer » Forms » can't navigate out of current block in enter query mode
can't navigate out of current block in enter query mode [message #455384] Tue, 11 May 2010 07:03 Go to next message
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 #455387 is a reply to message #455384] Tue, 11 May 2010 07:11 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
You can't.
Re: can't navigate out of current block in enter query mode [message #455400 is a reply to message #455387] Tue, 11 May 2010 07:49 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
What you can do is: query the "top" master block.
Go to its "first" detail block. <Enter query>, enter search criteria, <Execute query>.
Now go to the third block and repeat the previous step again.
Etc.
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 Go to previous message
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
Previous Topic: CONVERT ' FORM 6i default menu ' from english to arabic
Next Topic: Help!!!!!! How do I use multiple Buttons to sort columns
Goto Forum:
  


Current Time: Fri Sep 20 09:47:38 CDT 2024