8. Using Vision Advanced Features : Using Local Variables : Naming Guidelines for Local Variables
 
Share this page                  
Naming Guidelines for Local Variables
The names that you give to local variables must follow the standard naming conventions. The following naming guidelines also apply to local variables:
A general convention is to begin the name of a local variable with "h_" to designate it as hidden field; for example, h_date in the example above.
The name of a local variable can be up to 65 characters in length.
For a hidden column in a table field, include the table-field name at the beginning of the local variable name; for example, detailtbl.h_custno.
Do not begin any variable names with the string "ii", because this prefix is reserved for use by Ingres. Vision adds the string "iih_" to the beginning of all variable names when it generates the code for a frame.
A local variable cannot have the same name as a displayed column in the Master or Detail table used for this frame.
You can define a local variable with the same name as a non-displayed column in the Master or Detail table (except for a non-displayed column with an assigned value on an Append frame).
A local variable cannot have the same name as a local procedure.