Home » Developer & Programmer » Forms » Fetching Records into Non-Database Block of Forms
Fetching Records into Non-Database Block of Forms [message #163344] Thu, 16 March 2006 06:12 Go to next message
nirmalnarayan
Messages: 261
Registered: April 2005
Location: India
Senior Member
I have a Form with 10 Fields, this is a non-database block, i am using key-commit and on-insert trigger to insert values into database. While fetching records back i am using a multi-table join view, in a cursor. The problem is only last record fetched by the Cursor is being displayed on 'Key-Exeqry'.

I want to fetch all the records and display the records starting from the first record and then the user has to navigate to the next record. How can i achieve this. the records has to be displayed one record at a time per screen.


Nirmal

[Updated on: Thu, 16 March 2006 06:13]

Report message to a moderator

Re: Fetching Records into Non-Database Block of Forms [message #163483 is a reply to message #163344] Thu, 16 March 2006 21:09 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Populate block using cursor
http://www.orafaq.com/forum/m/605/67467/?srch=populate+block+cursor+create_record#msg_605
and my feelings about it.
http://www.orafaq.com/forum/m/134237/67467/?srch=populate+block+cursor+create_record#msg_134237

David
Re: Fetching Records into Non-Database Block of Forms [message #163499 is a reply to message #163483] Thu, 16 March 2006 23:15 Go to previous message
nirmalnarayan
Messages: 261
Registered: April 2005
Location: India
Senior Member
Thank you man, it really helped a lot.

Nirmal
Previous Topic: ORA-06508
Next Topic: Synchronising form values with database trigger-written values
Goto Forum:
  


Current Time: Fri Sep 20 08:30:11 CDT 2024