Re: Forms Master-Detail question

From: <EdwardAwad_at_webtv.net>
Date: Wed, 28 Oct 1998 05:42:43 GMT
Message-ID: <716asj$di$1_at_nnrp1.dejanews.com>


In article <715eso$ld6$1_at_nnrp1.dejanews.com>,   cary_at_nams.net wrote:
> Hello,
>
> I'm working on a very simple form in Developer v2.1 and have the following
> problem. Using the Data Block Wizard, I have created a form containing 2
> blocks (based on database views) in a master-detail relationship. I want to
> set up the detail block so that its single item (5-line text item or display
> item) only displays information - no inserting, no updating, no access
> whatsoever by an end-user. If I set up the detail block item to be a display
> item and perform a query on the master block text item at runtime, I get an
> error: FRM-40106: No navigable items in destination block. I get the same
> error if I make the item a text item with the properties Enable=No, Insert
> Allowed=No, Update Allowed=No. However, the error goes away and the block
> updates properly when the detail block item is a text item with Enabled=Yes.
> Functionally, though, this is not what I want. This item should be display
> ONLY. Can someone point out the problem/solution here? Thanks.
>
> Cary
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>

A block in Forms must have at least one navigable item. A display item is not a navigable item. I would do the same thing you did to overcome this restriction.

--
Edward Awad
Oracle Developer

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Received on Wed Oct 28 1998 - 06:42:43 CET

Original text of this message