Solved

Synchronize(mirror) with different tab pages in Oracle Forms 6i

Posted on 2004-10-09
3
471 Views
Last Modified: 2008-01-09
Hi Guys,
    I need your help on this? This is the scenario.


Contract Number                    Vendor Name           Currency

tabs:  Summary  Parties Rules Pricing

         Contract Number  and so on  (this is under summary tab)

The one on the header level Contract Number was created as Display item and synchronized with
the column Contract number  .
  (Display item on the header level is also in the same data block as Contract number under the summary tab)

Vendor name is also the Display item created by me but the synchronized item was "Vendor Name" under
 "Parties" tab page.


Now it works fine for the "Contract Number" (since the tab page "summary" is the default one) but i can't see anything
displayed for " Vendor Name" unless i click on the "parties" tab page.


Could u provide me a solution for this problem? Got to deliver it by Monday afternoon.
0
Comment
Question by:babunagendra
3 Comments
 

Expert Comment

by:Mr_Ahmad
ID: 12269502
Hi,

can you tell me what code you are using at the moment
0
 

Author Comment

by:babunagendra
ID: 12270982
This is the code i used for getting the value into "Vendor Name" on the header level.


Declare
      variable1 varchar2(300);
      variable2 varchar2(300);
begin
variable1:=:OKCAUDET_HEADER.COGNOMEN;
if :OKCAUDET_HEADER.COGNOMEN <> null then
select pov.vendor_name into variable2
from okc.okc_k_headers_tl kht, okc.okc_k_party_roles_b prb, po.po_vendors pov
where kht.cognomen = variable1
and kht.id = prb.chr_id
and prb.rle_code = 'VENDOR'
and prb.OBJECT1_ID1 = pov.vendor_id;
:OKCAUDET_PARTY_ROLES.NAME1 := variable2;
end;

I am getting the error "unable to perform query" and not going the desired effect on the form.


I don't need to write the code for " Contract Number" since the value it is taking is from the "summary" tab item
which is the default focus when the form comes up. So for this ,all i did was in the property palette,under synchronize i put the item of the summary tab item(Contract number)


My thinking is if when this form comes up,somehow shift the focus to the "Parties" tab page and have the focus back to the "Summary" tab ,may be this problem can be resolved.

Thanks


0
 
LVL 22

Accepted Solution

by:
Helena Marková earned 500 total points
ID: 12274366
I would advice you not to synchronize "Vendor Name" with "Vendor Name" under "Parties" tab page. You can use POST-QUERY trigger of block "summary" to populate "Vendor Name" item.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Database restore 8 87
Application becomes unresponsive after SQL 2008 consumes server memory. 22 99
oracle query help 18 113
null value 15 102
I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question