MAPCON Professional CMMS Software Documentation
The MAPCON CMMS Software User Manual
The following is the online version of the MAPCON User Manual for the software version indicated in the Table of Contents. The Manual provides a detailed description for the users of our CMMS including our CMMS Software, Maintenance Software and Preventive Maintenance Software operations and methodology. Please feel free to send us your comments via email.
Previous Page | Table of Contents | Next Page
Understanding Variables
Like any programming language, some method is used to store data into some place holder. These place holders are called variables. Variables are used to store various pieces of data that are used throughout the program. It is recommended to give variables understandable names, making the program more readable and easier to interpret.
For OpenInsight, variables must be 'assigned' a value before they are used in a program. If variables are not assigned some value and they are used, the program will break. Be sure to assign all of the required variables at the top of the program, or at least before they are used later in the program.
Some examples of variable assignment:
Myvariable = 1
Myothervariable = 'text is always put between quotes'
valuex = myvariable
myvariable = 2
Notice that variables can be assigned to other variables without concern for what the values are. However, be careful not to include variables containing text in mathematical expressions. Also, when a variable is assigned a new value, the old value is lost unless assigned to another variable.
The Variables screen in the MAPCON Symbolic Editor Window can be used to create variables that are assigned to columns in a table. The table that is used is the same table the report uses as a datasource. When the Variables push-button is clicked, a list of available columns is displayed. Selecting a column will produce one of two results:
VAR1$ = Calculate( columnname ) or
VAR1$ = @RECORD<tablename_columnname>
The first result calculates a symbolic column and assigns the value to the variable VAR1$. The second result gets the value from the variable @RECORD and assigns the value for that column to VAR1$.
Previous Page | Table of Contents | Next Page
Learn more about MAPCON CMMS Software
Contact us today. Our primary preventive maintenance software products are MAPCON Jemms, MAPCON Pro and MAPCON Lite. We provide full support (a real human right here in the United States) and training both on-site or at our classrooms in Des Moines, Iowa.
Call us at 1-800-922-4336 or go right to our Downloads Page and select your solution!
To Top