			*** EXAMPLE of a vism file ***  (16:27 07-03-2017)

' Anything after a ' is a comment (Visual Basic style)
LimitedRows: false, 200   ' true, 200 means "Retrieve at most 200 rows in a query". Handy when testing.
InterActionMode: DesignWithControl ' Use Ctrl+click to select a component and change its properties.
Simulatedtime: true, #28-02-2011 14:38:00#, 2.5   ' Simulate that this is the present time. When updating the screen, add 2.5 days to the present time.
SimulatedUpdate: false ' When true, the functions CommitForm and CommitOne don't update anything. Handy when testing.
Zoom: 1.2  ' Zoom all forms with a factor 1.2. Default 1.0.
StartUpForm: findPatient  ' The initial form to show. Must be a .vis file in the application directory.
-----------------------------------
Database: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=EHRdemo.mdb  ' Connection string to the database to be shown.
-----------------------------------
Table: tblPatient  ' Use this table from the database
relMedorder: 1:m, join tblMedOrder on tblPatient.ptID = tblMedOrder.ptID   ' The relationship relMedOrder walks from a tblPatient record to its related tblMedOrder records
tblNote: 1:m, join tblNote on tblPatient.ptID = tblNote.ptID ' The relationship tblNote walks from a tblPatient record to its related tblNote records.
' When there is only one relationship between two tables, it is convenient to give the relationship the name of the target table.
-----------------------------------
Table: tblMedOrder
tblPatient: m:1, join tblPatient on tblMedOrder.ptID = tblPatient.ptID  ' The relationship tblPatient walks from a tblMedOrder record to its related tblPatient record.
. . .


			*** UNCOMMENTED SYNTAX ***
LimitedRows: (true | false), rows 
InteractionMode: (AsEndUser | AsDesigner | DesignWithControl | DesignWithAlt) 
SimulatedTime: (true | false), #DateTime# [, days] 
SimulatedUpdate: (true | false) 
StartUpForm: name 
{
-----------------------------------	
    Database: connection_string 								
    {
        -----------------------------------			
        Table: table_name 
        { rel_name: (1:1 | 1:m | m:m | m:1 | one | many), sql_snippet }
    }
}
EOF

			*** COMMENTED SYNTAX ***
LimitedRows: (true | false), rows    					
// where rows is a number between 0 and infinity. 0 means show exactly 1

InteractionMode: (AsEndUser | AsDesigner | DesignWithControl | DesignWithAlt)     

SimulatedTime: (true | false), #DateTime# [, days]     	
// where DateTime is a DateTime in the format "dd-mm-yyyy hh:mm:ss", and where days is a number like 2.5 or 14.430 or 2 or 0

SimulatedUpdate: (true | false) 
StartUpForm: name     									
// where name is a string (without quotes or double quotes) representing the name of the .vism file to load 

{ // beginning of a loop: Any number of the enclosed tokens can be specified
-----------------------------------    // a separator line
Database: connection_string 								
{
    -----------------------------------			
    Table: table_name   // where table_name is the name of a table in the given database
   {
        rel_name: (1:1 | 1:m | m:m | m:1 | one | many), sql_snippet	// where relation_name is the name of the other table, on which to join
        // 1:1, etc. are the cardinality of the relation. For compatilbility reasons we allow "one" to mean m:1 and "many" to mean 1:m
   }
}
}
EOF

			*** GENERAL COMMENTS ***
The lines before the first ________  separator may be written in any sequence / combination 
and they are all optional: If one is missing, the default value will be used.


