Solved

why the data not pupulated on the form?

Posted on 2011-03-15
3
577 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
[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
 
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

Containers and Docker for Everyone

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

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

Confronted with some SQL you don't know can be a daunting task. It can be even more daunting if that SQL carries some of the old secret codes used in the Ye Olde query syntax, such as: (+)     as used in Oracle;     *=     =*    as used in Sybase …
Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

707 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