Solved

why the data not pupulated on the form?

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Oracle database T-1 Setup 7 44
error starting form builder in 11g 2 48
Queries: Select, then Append, then Delete 8 40
When are cursors useful? 8 60
PL/SQL can be a very powerful tool for working directly with database tables. Being able to loop will allow you to perform more complex operations, but can be a little tricky to write correctly. This article will provide examples of basic loops alon…
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 set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to recover a database from a user managed backup

732 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