Re: Disable update on record in multirecord block(B

From: Stephan Langer(B <slanger_at_dixi-wc.de>
Date: Wed, 14 Nov 2001 12:37:31 +0100
Message-ID: <3BF2577B.AD26B800_at_dixi-wc.de>


Hallo Paul,

remove the ':' before the block-name

SET_ITEM_INSTANCE_PROPERTY('block.item',rec_id, navigable, PROPERTY_FALSE);

hth Stephan

Paul de Jong schrieb:

> 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.
> 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:
> FRM-41045 Cannot find item: INVALID ID.
>
> What am i doing wrong?
>
> > Sincerely,
> >
> > Paul de Jong

--
Mit freundlichen Gr$B|_(Ben

Stephan Langer,
QITS GmbH
Received on Wed Nov 14 2001 - 12:37:31 CET

Original text of this message