Re: Disable update on record in multirecord block

From: Paul de Jong <paulde_jong_at_yahoo.com>
Date: 14 Nov 2001 00:22:29 -0800
Message-ID: <f8250707.0111140022.70bb3f57_at_posting.google.com>


paulde_jong_at_yahoo.com (Paul de Jong) wrote in message news:<f8250707.0111120434.2286106f_at_posting.google.com>...
> Hello,
>
> I hope anybody can help me out.
> Is it possible to disable a record in Forms?
> Because I want to make it possible that in a multi-record block under
> a certain condition a record is not accessible or updateable.
>
> Is there some syntax like: SET_RECORD_PROPERTY(GET_BLOCK_PROPERTY('MY
> BLOCK',CURRENT_RECORD), 'MY BLOCK', updateable ,PROPERTY_FALSE);
>
>
> Thank you in advance!
>
> Sincerely,
>
> Paul de Jong

Thanx everybody for your reply's!
But it hasn't solved my problems yet.
[Quoted] This is a part of the syntax I wrote:

rec_id := GET_BLOCK_PROPERTY('block',CURRENT_RECORD); SET_ITEM_INSTANCE_PROPERTY(':block.item',rec_id, navigable, PROPERTY_FALSE);

Now I get an error message:
[Quoted] FRM-41045 Cannot find item: INVALID ID.

What am i doing wrong?

> Sincerely,
>
> Paul de Jong
Received on Wed Nov 14 2001 - 09:22:29 CET

Original text of this message