Home » Developer & Programmer » Forms » why this code is not working ?
icon5.gif  why this code is not working ? [message #253057] Sun, 22 July 2007 01:08 Go to next message
hussienburhan
Messages: 28
Registered: July 2007
Junior Member
hi
im tring to ftech mutliple reords to tabuler form text item
i write this code but its only fetch values for first record in the text item and do not fetch to other records in the same text item

Declare
cursor c is
select distinct group_a from sc_mast; <here i select all values
in my database that they are 63 values>

begin
for r in c loop
next_record;
:visib_groups.group_a:=r.group_a;<it assign vakues only for first record>
end loop;

end;
Re: why this code is not working ? [message #253063 is a reply to message #253057] Sun, 22 July 2007 01:57 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Perhaps because there's no NEXT_RECORD until you create one (using the CREATE_RECORD)?
Previous Topic: How I can Disable System Alerts?
Next Topic: problem with d2k installation
Goto Forum:
  


Current Time: Fri Sep 27 02:24:31 CDT 2024