Code to retrieve data in Oracle 10g

5 pts.
Tags:
Oracle 10g
Oracle Data Access
Oracle Database
Oracle Database 10g
Oracle Forms 10g
im new in oracle forms and i want to enter the industry number and when i press the retrieve button, name and surname must display, can you help.

Software/Hardware used:
oracle 10g
ASKED: November 9, 2010  8:49 AM
UPDATED: November 9, 2010  2:38 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

This is very basic. I would recommend learning the basics before trying to build any real program.

You need to create a trigger for your ‘retrieve’ button (which trigger ? I’m sure you can find that out).

In the previously mentioned trigger you have to write a <a href=”http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/selectinto_statement.htm”>SELECT INTO statement</a>.

Another way to do it would be creating a database block bound to your table, and calling the ‘execute_query’ built-in procedure from you button’s trigger.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following