?
Solved

why the data not pupulated on the form?

Posted on 2011-03-15
3
Medium Priority
?
579 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 800 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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.
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…
Suggested Courses

770 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