LOV and Tab [message #631740] |
Mon, 19 January 2015 05:51 |
|
sanodani
Messages: 98 Registered: October 2014
|
Member |
|
|
Hallo ..
can anybody give some hints or help me regarding my Problem? Please.
my Problem is:
I have master-Detail block (forms) and have two Detail block with two tab convases. Master block has a filed called invoice no. ( which links to the other two blocks)
the one Detail Block Shows the Detail of all articles and the other Shows the Detail of Shops.
and i have set LOV in invoice no. field.
when i run with normal (F11 or Query Execute) then it works fine and Shows the Output in both Tabs, but when i choose the Value in Invoice field from LOV, will Display just in first tab not in the second Tab,
can anyone help me, how can i Display the related Information in the second tab too? or which Trigger should i Need to write?
thanking you all in advance.
regards,
|
|
|
|
|
|
|
Re: LOV and Tab [message #631847 is a reply to message #631809] |
Tue, 20 January 2015 17:16 |
|
CraigB
Messages: 386 Registered: August 2014 Location: Utah, USA
|
Senior Member |
|
|
sanodani wrote on Mon, 19 January 2015 07:24i mean, i would first select value from LOV then it will execute the records in the first tab where i can see article Detail but it will not Show any records in tab2, where it shouls Show Shops Detail.
can i do this with pre-query ??
go_block('block_name');
execute_query;
How are you putting your form into Query Mode (programmatically or via F-Key)? If you are using the F-Keys, then you can emulate this in your Key-ListVal trigger when you display your LOV. For Example:
-- Sample Key-ListVal Trigger
-- Code is untested
-- --------------------------
BEGIN
Enter_Query;
List_Values;
Execute_Query;
END;
If you are doing this programmatically, please show us your code.
Craig...
[Updated on: Tue, 20 January 2015 17:19] Report message to a moderator
|
|
|
|