Since the user must enter something into the Model# field, do the lookup
there to see what the type is (ta, tb, tc) and then set the field read-only or
not from there. You could do it all on exit from the Model# field. Looks
like your code should work.
Karen
> Karen,
>
>
>
> Since I have people who have a tendency to skip over fields, (use mouse
> clicks instead of Key through the fields), Could I have the IF THEN
> statement in the model field as such:
>
>
>
> --GETPROPERTY Order_Model TEXTVALUE 'vModel'
>
> --SET VAR vSortone = Sortone IN Product WHERE Model# = .vModel
>
> --SET VAR vKPRList = KPRSell IN Product WHERE Model# = .vModel
>
> --SET VAR vTankSorts = 'TA,TB,TC'
>
> --SET VAR vSortcheck = ('('+.vTankSorts+')')
>
> --IF vSortone IN &vSortcheck THEN
>
> --PROPERTY Comp_ListPrice READONLY ‘FALSE’
>
> --RETURN
>
>
>
> Jim
>
>
>