How can we call different canvases within one window?

30 pts.
Tags:
Oracle Developer 6i
Oracle development
Oracle Forms
i want to design a form with three canvases. but problem is occur that other two canvases are not shown at run time. i want to create a push button and when i press it then 2nd canvas must be open.

Answer Wiki

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

You could use the go_item built-in(‘item_name’) procedure.

Put a call to the go_item procedure in the when-button-pressed trigger of the ‘add new departament’ button, using some item in the 2nd canvas as argument; then in the same trigger of the ‘save’ button, do the same using one item from the first canvas as argument.

-CarlosDL

————————————

Why don’t you use show_view(‘canvasname’); and display your canvas accordingly.
Rashid

Discuss This Question: 2  Replies

 
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
  • carlosdl
    Could you please provide more information ? What type of canvases are you usging ? How are they positioned within the window ? When you press the button, do you want the 2nd canvas to show in the same position as the first one ?
    70,200 pointsBadges:
    report
  • Bina
    both canvas type are content. i have an product Information form that contains department id as filed. but i want to add new department at run time by pressing button. and i want to open another canvas on this product canvsas. user add new department and when click on save button then it department canvas must be invisible. and user can add other data in product information.
    30 pointsBadges:
    report

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