Code of Creating View in Pre_Form [message #483842] |
Thu, 25 November 2010 01:14 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
theowais
Messages: 75 Registered: October 2009 Location: Multan
|
Member |
|
|
Hi Experts,
Following Code:
create or replace view dept_list as
select 1 state, 1 depth, 'DEPARTMENT' displ_value, null icn, null pk, 'A' sort_value
from dual
union
select -1 state, 2 depth, dname displ_value, null icn, null pk, 'A' sort_value
from dept
union
select -1 state, 3 depth, 'EMPLOYEES' displ_value, null icn, null pk, 'A' sort_value
from dept;
is placed in Pre_Form Trigger it generated error.
Error 103 at line 1, column 1
Encountered the symbol "create" when expected the following.
Please help me to solve the problem.
Thanks,
|
|
|
|
|
|
Re: Code of Creating View in Pre_Form [message #483864 is a reply to message #483859] |
Thu, 25 November 2010 02:13 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
I planted quite a few trees, but didn't create many forms that use trees. So, I'm afraid I can't help much.
Open Forms Online Help System and search for "tree". In there you'll find many topics, such as "Creating a Hierarchical Tree Example" and similar. Do some reading.
Also, use Forum's Search engine to see what other people have said and done.
|
|
|