Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Suggested Courses

636 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