2003-08-03 Sunday 10:30PM
rename table assertions:
assertion is a reserved SQL keyword.  Besides, it is used in the context of asserting one's rights and claims, rather than making a mere statement of facts.
The other options are affirmations, averments, allegations,  declarations.
affirm: Assert strongly; make formal declaration, confirm, ratify
affirmation: solemn declaration by a person
averments: Positive statements; offer to prove; proof of; ~ a plea
allegation: assertions not proved
declarations: legal assertion or proclamation; plaintiff's statement of claim


Now, how about details?

particulars with details
detail: dealing with things item by item, minute account, number of particulars.
        to give the particulars of.

that does it.

 procedures <=> proceedings
      steps <=> events
particulars <=> details

rules[natural]
rules[juristic]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2003-08-04 08:00PM Monday

table:- 
index_sqls
+---------------+------+---------+-----------------------------------------------------------
 field           type   null      notes
+---------------+------+---------+-----------------------------------------------------------
index_sql_id	serial pk
index_name	text   unique
start_table	text   not null  name of a table/view
end_sql		text   not null  sql string with form name to load
+---------------+------+---------+-----------------------------------------------------------

table:-  
index_headings
+---------------+------+---------+-----------------------------------------------------------
 field           type   null      notes
+---------------+------+---------+-----------------------------------------------------------
index_heading_id serial
index_sql_id	int4   fk
heading_name    text   not null
index_path      text   not null  in the format field_r>field_s>field_t
                                 where fields r, s and t are from start_sql
                                 and the id in field t can link to a form for edit.

+---------------+------+---------+-----------------------------------------------------------
SCRAPS

index_connections:
index_sql_id    int4   fk

//    if (count($gen_forms)>0){
//	while (list($key, $value)=each($gen_forms)){
//	    $f = $value['particular_id'];
//	    $s = $value['control_tags'];
//            //echo "<p>file: $f: script: $s";
//	    //$form_array = output_script($f, $s);        
//	    //echo $form_array[content];
//            $script_file = "/usr/local/httpd/htdocs/calpptechno/particulars/$f.php";
//            include ("$script_file");
//        }
//    }

