Home » Developer & Programmer » Forms » Using Dynamic Ref Cursor in Forms
Using Dynamic Ref Cursor in Forms [message #168355] Thu, 20 April 2006 00:24 Go to next message
nirmalnarayan
Messages: 261
Registered: April 2005
Location: India
Senior Member
Hi,

any one have any idea how to use a dynamic ref cursor, i.e, at run time i need to pass dynamic where condition to this refcursor, which resides inside the program unit of the form.


Thanks and Regards,

Nirmal Narayanan.
Re: Using Dynamic Ref Cursor in Forms [message #168383 is a reply to message #168355] Thu, 20 April 2006 02:44 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Is this the same question that you asked in http://www.orafaq.com/forum/m/163500/67467/#msg_163500 or are you asking for something different?

David
Re: Using Dynamic Ref Cursor in Forms [message #168430 is a reply to message #168383] Thu, 20 April 2006 06:57 Go to previous messageGo to next message
nirmalnarayan
Messages: 261
Registered: April 2005
Location: India
Senior Member
No, i am not mentioning to use of Bulk collect, i want to pass the where condition to the Ref cursor inside the program unit in a form, Is this possible.

Open hdr_cur for 'select * from ' || v_condition;

where v_condition is the string containing the where conditions.

Is this possible in the forms is my problem ?

Thanks and Regards,

Nirmal
Re: Using Dynamic Ref Cursor in Forms [message #168528 is a reply to message #168430] Thu, 20 April 2006 20:11 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Search this forum for 'from clause query'. There is even a working form attached to one of the threads.

David

Actually search for QUERY_DATA_SOURCE_NAME and look at attachment in http://www.orafaq.com/forum/t/53596/67467/

[Updated on: Tue, 16 January 2007 17:32]

Report message to a moderator

Previous Topic: frm 10247
Next Topic: Query data Source type IN Oracle Form Builder 6i
Goto Forum:
  


Current Time: Fri Sep 20 09:36:27 CDT 2024