Message 1 of 10
Ilogic form minimum / maximum parameter wizard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all
I'm creating an Ilogic form that contains certain parameters in the model and i would like to limit the values for these parameters.
I have used the minimum/maximum wizard in the rule logic.
My problem is if someone enters a value outside the range required then even though a message box warns them that parameter now takes on the new value (even though it is outside the range) or a set value of the minimum or maximum allowed. I got around this by creating a dummy parameter but it seemed a long way to do this for every parameter within the form.
Is there a simpler way. My model parameter is height, my dummy user parameter is mheight.
' ******* mheight Limits ******* If mheight >= 50 And mheight <= 100 height = mheight ElseIf mheight < 50 Or mheight >100 Then MessageBox.Show("The value is outside the allowed range of 50 to 100mm", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error) mheight = False mheight = height End If
