Solved

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

Posted on 2004-10-09
3
507 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
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…

695 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