Home » Developer & Programmer » Forms » Tabbed Canvas (Oracle 6i form Builder)
Tabbed Canvas [message #406517] Thu, 04 June 2009 06:48 Go to next message
asmani
Messages: 47
Registered: February 2007
Member
Hi there

I am currently working on form which contains five or more tabs.
Couple of them are view only or couple of are updatable and insert able.

Problem starts when I move from view only tab to DML one but form doesn't seems to like that and stays in view only mode and insert new record button(top left hand one) stays disabled (greyed out).
If I move from insert able tabs to other insert able tabs that button stays green.

Any idea would be highly welcome.

Thanks!
Usman Ahmad.

[Updated on: Thu, 04 June 2009 06:52]

Report message to a moderator

Re: Tabbed Canvas [message #406621 is a reply to message #406517] Fri, 05 June 2009 00:31 Go to previous messageGo to next message
Littlefoot
Messages: 20900
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Did you try to change focus from non-updateable item to updateable one? GO_ITEM is what I have in mind.
Re: Tabbed Canvas [message #406671 is a reply to message #406621] Fri, 05 June 2009 05:20 Go to previous messageGo to next message
asmani
Messages: 47
Registered: February 2007
Member
Thanks Littlefoot for your reply, that's so kind of you.
I don't want to update that tab but I want to insert a field.
I'm using trigger when-new-block-instance on that block which should change its property
Set_Block_Property(l_block,INSERT_ALLOWED,PROPERTY_TRUE);
but I doesn't seems to be working......

Note : I am using oracle stranded tool bar and insert new record button is greyed out and you can insert on that block even manually.

UA
Re: Tabbed Canvas [message #406679 is a reply to message #406671] Fri, 05 June 2009 06:17 Go to previous message
asmani
Messages: 47
Registered: February 2007
Member
PANIC OVER..... Surprised
I have managed to fix it.... Cool

solution....

I added another field on that canves to filter the data on that tab which is non-database and you can not do DML on it. When tab changes form cursor goes on that field and icon becomes active.....
Shocked

Thanks Again Littlefoot............
UA
Previous Topic: rtf in forms
Next Topic: Finding Center of Record and alignment acco
Goto Forum:
  


Current Time: Thu Dec 08 02:05:26 CST 2016

Total time taken to generate the page: 0.23551 seconds