?
Solved

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

Posted on 2004-10-09
3
Medium Priority
?
515 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 2000 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

777 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