Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Bugs again! Thanks!
You've aliased the two columns as u_file_url and u_year, so these are the names you must use to reference them in the each_object record. ie
htp.tableData(htf.anchor(each_object.u_file_url,each_object.f_co_name));
htp.tableData(each_object.u_year);
Hello all,
I found bugs again... how to fix them this time....
The message is .....
-------- ----------------------------------------------------------------- 19/4 PL/SQL: Statement ignored 19/41 PLS-00302: component 'FILE_URL' must be declared 20/2 PL/SQL: Statement ignored
and the program is .....
procedure fyp_scna;
end ;
/
show errors
create or replace package body newchi2 is
procedure fyp_scna is
cursor all_object is select f.co_id f_co_id,f.co_name
f_co_name,c.co_id c_c$
u.year u_year,u.file_url u_file_url from firms f,FileUrl u,Co_bg c
where f.co_name like 'A%' and f.co_id=c.co_id and f.co_id=u.co_id
order by f_co_name;
begin
htp.bodyopen('http://imsu11.ust.hk:9000/ar/img/t2.gif'); htp.p('The Companies with "A" as the first character:'); htp.nl; htp.tableOpen('yes'); htp.tableRowOpen; htp.tableData(htf.strong('Company Name')); htp.tableData(htf.strong('Year')); htp.tableRowClose;
htp.tableRowOpen;
htp.tableData(htf.anchor(each_object.file_url,each_object.co_name));
htp.tableData(each_object.year); htp.tableRowOpen;
Thanks!
Connie
..::''''::.. .;'' ``;. Name => Ho Wing Yu, Wingyu :: :: :: :: Department => Information and Systems Management, Yr 3 :: :: :: :: Email => im_hwyaa_at_stu.ust.hk :: .:' :: :: `:. :: wingyu_at_susis.ust.hk :: : : :: URL => http://home.ust.hk/~im_hwyaa :: `:. .:' :: `;..``::::''..;' ``::,,,,::''
--`--,{@ --`--,{@ --`--,{@ --`--,{@ @}`--,-- @}`--,-- @}`--,-- @}`--,-- Received on Sun Mar 09 1997 - 00:00:00 CST