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
