By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,049 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

Determine record number in oracle forms

P: 1
I am trying to determine the record number of a record in Oracle Forms so I can navigate to that record. I am using the code below but it only gives me the record number of the record I am currently displaying.

declare
temp_record number(40);
char_record varchar2(40);
Begin
temp_record := 0;
if :control.barcode_query is null then
message('You must select a barcode.');
raise form_trigger_failure;
end if;
go_block('property');
char_record := null;
select :system.cursor_record into char_record from property where barcode = :control.barcode_query; (list box)
temp_record := to_number(char_record);
go_record(temp_record);
end;
Aug 16 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.