Hi,
Even on Desktop it won't work always. It works only for some modules. I
don't know why is that.
However, there is a solution.
You can play with R.NEW() and R.OLD() arrays values of the fields,
regardless of the INPUT field's type.
For example:
IF COMI = '4' THEN
  R.NEW(EB.CUS.LOCAL.REF)<1,POSITION.OF.DATE.FIELD,2>) =
R.OLD(EB.CUS.LOCAL.REF)<1,POSITION.OF.DATE.FIELD,2>)<1,POSITION.OF.DATE.FIELD,2>)
  ETEXT = 'Sorry, you cannot change this field data under a condition ...'
END

You should also consider empty fields for a fist input.

Igor

On Mon, Sep 26, 2011 at 9:23 AM, VK <[email protected]> wrote:

> Hi,
> I don't think you can make some subvalue NOINPUT without affecting
> other subvalues.
>
> Generally it's not a good idea to change field properties on-the-fly;
> however something like that might work on Desktop. If you use Browser
> you're probably out of luck since it takes all VERSION properties from
> the server every time the communication takes place. That I was told
> but never tried out so I might be wrong here. You can try to amend
> R.VERSION as well to make all field NOINPUT if you like (though I
> still don't recommend that).
>
> You might better (supposing that it's something local) rearrange the
> data. If you can't - introduce a cross-field check if second value of
> the DATE has changed when EVALUATION is 4.
>
> VK
>
> On Sep 23, 6:13 pm, Ahmet Baysa <[email protected]> wrote:
> > Hi,
> >
> > I would like to set field properties of a sub value during the input of
> > another field but not succeeded. I explain:
> >
> > CUSTOMER table has a group of Multi value LOCAL Fields
> >
> > PRODUCT, EVALUATION and DATE
> >
> > These are three multivalue LOCAL Fields and they are in same Group.
> >
> > Each fiels has three values
> >
> > PRODUCT = A , B, C
> > EVALUATION = 5,4,6
> > DATE = 2011, 2012, 2015
> >
> > I would like to write a validation routine on EVALUATION in order to
> control
> > the "NOINPUT" of the corresponded DATE value in the DATE field.
> >
> > Let's say; if 2nd value of the EVALUATION field has value "4" then second
> > value of the DATE field should be "NOINPUT"
> >
> > I am inputting the second value  of the EVALUATION field on the screen.
> Then
> > validation routine runs....
> >
> > IF COMI EQ "4" THEN
> >
> >     T(R.NEW(EB.CUS.LOCAL.REF)<1,POSITION.OF.DATE.FIELD,2>)<3> = "NOINPUT"
> >
> > END
> >
> > Is this the syntax to fetch and set the  properties of the DATE field?
> >
> > Thanks,
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>



-- 
Igor Micev

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to