on 06-12-2013 2:54 PM
If I have a numeric characteristic that is free entry, can you set a restriction on what value can be entered?
i.e.
Characteristic to record temperature (CTEMP) but the value entered must be between 0 to 1500 degC. How can you prevent somebody from entering 2000?
Please advise.
Thanks in advance.
Hi
In the characteristic values tab, enter the allowed range values (1 to 1500)..
Regards
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Satish,
Thanks, but is there no way of defining the upper & lower limit?
What you suggest is the way I have already thought about, but there are 1500 numbers to enter! What if there are decimal places involved - a factor of 10, hundred etc. on the number of entries. Is there a limit to the number of values that can be entered in a characteristic?
Is there not a way creating a rule i.e. >0 & <=1500?
Please advise.
Thanks.
Rob.
Hi Rob
For your characteristic select intervals and in values tab just maintain interval range as "0 - 1500" without "...
System will allow to assign value between 0 to 1500 to that characteristic...
If you want decimal places you can do in similar way but you have to select decimal places in basic data tab
The solution suggested by Satish should work. Here is another solution...you may create a variant table (CTEMP_TBL) with just the characteristic CTEMP and enter these values in the table "< 0" and "> 1500" and then assign a dependency of type constraint in config profile
Details of the dependency
objects:
o is_a (300) class
condition:
specified o.CTEMP and table CTEMP_TBL ( CTEMP = o.CTEMP)
restrictions:
false
With this dependency it should throw an inconsistency error when the value entered is found in the table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sudheer,
Thanks you for answering this.
I will use the method Satish advised as it is simple & effective.
The whole business of creating constraints is something I need to get into. Not yet created any as yet & I know that I am missing out.
Trouble is that I have no understanding of them. Is there some basic info / guides that you could send me? Much appreciated if there is.
Again, thanks for taking the time to answer.
User | Count |
---|---|
95 | |
9 | |
9 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.