Solved

why the data not pupulated on the form?

Posted on 2011-03-15
3
571 Views
Last Modified: 2013-12-07
I have a base table "license" for two blocks - block ABC and block EFG. The master block is ABC and the detail block is EFG, they are linked to a ID

there is a button from block ABC to open block EFG
when I query a id from base table, there is a record returned
when I click on the button on block ABC to open block EFG for that id, I can see only partial data shown on block EFG, not all of them
I insert a debugging message like below into new-block-instance
    fnd_message.set_string( ' student id is: '  || to_char(:school.expiration_date));
    fnd_message.show;

I don't see data on expiration_date shown on the EFG form for that id. I don't know why. But the base table is shown this data when I query it from back-end.

Do you know why? and how to debug it? how to debug more?

I am using oracle 8i

0
Comment
Question by:wasabi3689
3 Comments
 
LVL 22

Expert Comment

by:Helena Marková
ID: 35145089
At first, I think that here is missing format:
fnd_message.set_string( ' student id is: '  || to_char(:school.expiration_date,'dd.mm.yyyy'));
(Also it is ID and not expiration_date in the string  ' student id is: ' there).

I think that this question is about Oracle Forms.
Is there a master-detail relation between 2 blocks ? If yes then I think that there is no need of using button for going to the second form. Also check the relation if it is really based on ID.

If there is no relation then check the where condition of second block and put test messages to the When-Button-Pressed trigger of button. I think that there is execute_query there in the code.
0
 

Accepted Solution

by:
wasabi3689 earned 200 total points
ID: 35245034
I found the answer by myself. The bug is there is a duplicate statement in the trigger. After I removed it, it works
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now