');
   htp.p('');
   htp.p('

Question : Putting value in a combo box

i try to put 4 values in a combo box but it gave me error like :

ORA-06550: line 1, column 1318:
PLS-00103: Encountered the symbol "LOOP" when expecting one of the following:

if
ORA-06550: line 1, column 2711:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:

end not pragma final instantiable order overriding static
member constructor map (WWV-11230)

 htp.p('

Period :');
   htp.p('
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:

Dynamic Page - Summary Analysis Report



DECLARE
 
   num_period NUMBER;
   v_brand  VARCHAR2(100);
   v_portoforigin  VARCHAR2(100);
   
   CURSOR CUR_PERIOD IS
   SELECT DISTINCT(period) FROM VITAL_DASHBOARD_MV ORDER BY period ASC;
   
   CURSOR CUR_BRAND IS
   SELECT DISTINCT(brand) FROM VITAL_DASHBOARD_MV;
   
   CURSOR CUR_PORTOFORIGIN IS
   SELECT DISTINCT(port_of_origin) FROM VITAL_DASHBOARD_MV;
      
 
BEGIN
 
   num_period  := :p_period ;
   v_brand   := :p_brand ;
   v_portoforigin  := :p_portoforigin ;
 
   htp.p('');
   htp.p('');
 
   htp.p('');
   htp.p('');
   htp.p('');
   htp.p('');
   htp.p('');
 
   htp.p('');
 
   htp.p('');
   htp.p('');
   htp.p('');
   htp.p('');
   htp.p('');
 
    htp.p('');
 
   htp.p('');
   htp.p('');
   htp.p('');
   htp.p('');
 
 
 
   htp.p(''); 
   htp.p('
 '); htp.p(' Period :'); htp.p('
 '); htp.p(' Brand :'); htp.p('
 '); htp.p(' Port of Origin :'); htp.p('
'); END;

Answer : Putting value in a combo box

I think that this is a problem: ELSE IF - it ought to be ELSIF in PL/SQL:

LOOP
      IF ACUrec.period = num_period THEN
         htp.p('
Random Solutions  
 
programming4us programming4us