Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
florinfaur said:The string parameter REL_MODEL_NAME holds the name of the model.
In you case the relations would be:
If REL_MODEL_NAME == "part1"
d1=0
Else
If REL_MODEL_NAME == "part2"
d1=2
Endif
Endif
Unfortunately I don't know the name of the parameter that holds the name of the generic.
dr_gallup said:Why would you not just put the values in the family table?
florinfaur said:The string parameter REL_MODEL_NAME holds the name of the model.
In you case the relations would be:
If REL_MODEL_NAME == "part1"
d1=0
Else
If REL_MODEL_NAME == "part2"
d1=2
Endif
Endif
Unfortunately I don't know the name of the parameter that holds the name of the generic.
copyboy said:Search in Help for "Operators and Functions for Strings" in the Fundamentals section.