Solved

why the data not pupulated on the form?

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
pl/sql parameter is null sometimes 2 23
MSSQL join different row from other table 14 65
Syntax error creating JSON recordset 4 26
error in oracle form 11 19
I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

685 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