<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dataflex.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=217.10.26.4</id>
	<title>DataFlex Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dataflex.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=217.10.26.4"/>
	<link rel="alternate" type="text/html" href="https://dataflex.wiki/index.php?title=Special:Contributions/217.10.26.4"/>
	<updated>2026-05-02T22:40:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://dataflex.wiki/index.php?title=Character_Mode_Cookbook&amp;diff=571</id>
		<title>Character Mode Cookbook</title>
		<link rel="alternate" type="text/html" href="https://dataflex.wiki/index.php?title=Character_Mode_Cookbook&amp;diff=571"/>
		<updated>2007-10-09T09:49:15Z</updated>

		<summary type="html">&lt;p&gt;217.10.26.4: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Keys and commands=&lt;br /&gt;
&lt;br /&gt;
 on_key KCLEAR                      : F5&lt;br /&gt;
 on_key KCANCEL      Send Cancel    : Esc&lt;br /&gt;
 on_key KENTER                      : Enter&lt;br /&gt;
 on_key KSAVE_RECORD Send Do_Report : F2&lt;br /&gt;
&lt;br /&gt;
 Promt commands&lt;br /&gt;
 df32&lt;br /&gt;
 dfcomp ex.src -pfv1    p=precompile&lt;br /&gt;
 dfcomp ex.src -fv1     fv1 creates prn-file (check errors)&lt;br /&gt;
 dfrun ex&lt;br /&gt;
 dfruncon ex            with mouse support&lt;br /&gt;
&lt;br /&gt;
=Declaration=&lt;br /&gt;
==Properties and variables==&lt;br /&gt;
 property integer piCount public 0&lt;br /&gt;
 set piCount To (piCount(current_object)+1)&lt;br /&gt;
&lt;br /&gt;
==Move==&lt;br /&gt;
 local integer liNumber&lt;br /&gt;
 move 0 To liNumber&lt;br /&gt;
&lt;br /&gt;
 Move (key+1) to key    key = key++ //Dont forget to use paratheses (a+(b*c))&amp;lt;&amp;gt;a+b*c&lt;br /&gt;
&lt;br /&gt;
==Set/Get==&lt;br /&gt;
 Set value of (oPop(current_object)) item 0 to sVar      // item[0] = sVar&lt;br /&gt;
 Get Value item 0 to sVar                                // sVar    = item[0]&lt;br /&gt;
&lt;br /&gt;
==Be aware of the difference==&lt;br /&gt;
 Set A of object to B  A=B&lt;br /&gt;
 Get A of object to B  B=A&lt;br /&gt;
 Move A to B&lt;br /&gt;
 &lt;br /&gt;
 You can only use Get and Set on properties&lt;br /&gt;
&lt;br /&gt;
=Functions and Procedures=&lt;br /&gt;
 get myFunc of (oObj(current_object)) &amp;quot;tmp&amp;quot; to sAnswer // sAnswer = oObj-&amp;gt;myFunc(&amp;quot;tmp&amp;quot;)&lt;br /&gt;
 --------------&lt;br /&gt;
 SET&lt;br /&gt;
    value of OBJ ITEM to VAL&lt;br /&gt;
    location X Y [ABSOLUTE/RELATIVE]&lt;br /&gt;
    focus_mode to POINTER_ONLY&lt;br /&gt;
 --------------&lt;br /&gt;
 Procedure MyProcedure&lt;br /&gt;
&lt;br /&gt;
 End_Procedure&lt;br /&gt;
&lt;br /&gt;
 Send MyProcedure&lt;br /&gt;
 ------------------&lt;br /&gt;
 Procedure DisplayResult String lsValue1 String lsValue2 String lsValue3&lt;br /&gt;
    set value of (oOutput(self)) item 0 to lsValue1&lt;br /&gt;
    set value of (oOutput(self)) item 1 to lsValue2&lt;br /&gt;
    set value of (oOutput(self)) item 2 to lsValue3&lt;br /&gt;
 end_procedure&lt;br /&gt;
 send DisplayResult lsValue1 &amp;quot;&amp;quot; &amp;quot;&amp;quot;&lt;br /&gt;
 --------------&lt;br /&gt;
 Procedure_Section // used in reports to handle paging in a smarter way&lt;br /&gt;
 --------------&lt;br /&gt;
&lt;br /&gt;
 Function MyFunction integer i returns Integer&lt;br /&gt;
 &lt;br /&gt;
 End_Function&lt;br /&gt;
 &lt;br /&gt;
 get MyFunction(self) as iRet&lt;br /&gt;
 --------------&lt;br /&gt;
 function myFunc string test returns string&lt;br /&gt;
  local string lsRval&lt;br /&gt;
  move test to lsRval&lt;br /&gt;
  function_return lsRval&lt;br /&gt;
 end_function&lt;br /&gt;
&lt;br /&gt;
 get myFunc of (oObj(current_object)) &amp;quot;tmp string&amp;quot; to sAnswer&lt;br /&gt;
&lt;br /&gt;
=Start &amp;quot;windows/console&amp;quot;=&lt;br /&gt;
 start_ui       // starts a new console&lt;br /&gt;
 ui_accept      // has a return value&lt;br /&gt;
 activate_scope // opens a new &amp;quot;window&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Content layout=&lt;br /&gt;
 --------------&lt;br /&gt;
 /Answer.hdr&lt;br /&gt;
 +--------------------+&lt;br /&gt;
 /Answer.dat&lt;br /&gt;
 ¦ Answer:_________   ¦&lt;br /&gt;
 +--------------------+&lt;br /&gt;
 /*&lt;br /&gt;
 register_object oAnswer&lt;br /&gt;
 Object oAnswer is a Client Answer.hdr&lt;br /&gt;
   Set location 7 30 ABSOLUTE&lt;br /&gt;
   On_Key kcancel Send cancel &lt;br /&gt;
&lt;br /&gt;
  Object oAnswData is a Form Answer.dat&lt;br /&gt;
    Set location 1 0 RELATIVE&lt;br /&gt;
    Set focus_mode to POINTER_ONLY&lt;br /&gt;
    item_list&lt;br /&gt;
      On_Item &amp;quot;&amp;quot; Send none&lt;br /&gt;
    end_item_list&lt;br /&gt;
  End_Object&lt;br /&gt;
&lt;br /&gt;
  Procedure OpenAnswerForm string sValue&lt;br /&gt;
    local Integer iRval&lt;br /&gt;
    Set value of (oAnswData(current_object)) item 0 to sValue&lt;br /&gt;
    ui_accept current_object to iRval&lt;br /&gt;
  End_Procedure&lt;br /&gt;
&lt;br /&gt;
 End_Object&lt;br /&gt;
&lt;br /&gt;
 Send OpenAnswerForm to (oAnswer(current_object)) &amp;quot;test string&amp;quot;&lt;br /&gt;
 --------------&lt;br /&gt;
&lt;br /&gt;
=Reports=&lt;br /&gt;
 /oReportView1.SectionName&lt;br /&gt;
    __________________________________________________________________________&lt;br /&gt;
 /oReportView1.body&lt;br /&gt;
   ____________________  ______________________&lt;br /&gt;
 /*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 //Activate_View Activate_Report1 for oReportView&lt;br /&gt;
 Object oReportView1 is a Report_View NO_IMAGE&lt;br /&gt;
&lt;br /&gt;
    Object oMainReport is a seq.Report NO_IMAGE&lt;br /&gt;
&lt;br /&gt;
        Set Main_File to customer.file_number&lt;br /&gt;
        //set Ordering to 2 // Order by name&lt;br /&gt;
        Set Report_Title to &amp;quot;Report 1 - Show position of sections&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        set Page_End to 18 // Page length set to screen length&lt;br /&gt;
&lt;br /&gt;
        Procedure _PrintSectionName String lsValue&lt;br /&gt;
            Print lsValue to oReportView1.SectionName.1&lt;br /&gt;
            Output_Pagecheck oReportView1.SectionName&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        // Procedures Page_Top thru Page_Bottom ONLY get used by the outermost report&lt;br /&gt;
        // object... All other objects delegate messages to this ultimate parent.&lt;br /&gt;
        // creating these procedures in child reports will have NO effect.&lt;br /&gt;
&lt;br /&gt;
        // Procedure_Section Page_Top as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Report_Header as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Header as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Title as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Total as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Footer as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Report_Footer as oReportView1.SectionName&lt;br /&gt;
        Procedure_Section Page_Bottom as oReportView1.SectionName&lt;br /&gt;
            Send _PrintSectionName &amp;quot;Page_Bottom             (last thing printed on every page)&amp;quot;&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        Procedure_Section Body as oReportView1.body      // or Procedure_Section Body&lt;br /&gt;
            Print customer.name to oReportView1.body.1   // Sets the data fields&lt;br /&gt;
            Print customer.city to oReportView1.body.2&lt;br /&gt;
            Output_Pagecheck oReportView1.body           // Prints the data to screen&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        //Procedure_Section Total as oReportView1.SectionName&lt;br /&gt;
&lt;br /&gt;
    End_Object&lt;br /&gt;
&lt;br /&gt;
    Procedure run_report&lt;br /&gt;
        send run_report to (oMainReport(self))&lt;br /&gt;
    End_Procedure&lt;br /&gt;
 End_Object&lt;br /&gt;
&lt;br /&gt;
 procedure Activate_Report_View_1&lt;br /&gt;
  send run_report to (oReportView1(self))&lt;br /&gt;
 end_procedure&lt;br /&gt;
&lt;br /&gt;
 ---------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
=Objects=&lt;br /&gt;
 Object oOrder is a Entry_View_Client oOrder.hdr&lt;br /&gt;
    Set location 5 8 ABSOLUTE &lt;br /&gt;
&lt;br /&gt;
    Object Orderhea_DD is a Data_Set NO_IMAGE&lt;br /&gt;
        Set main_file to Orderhea.file_number&lt;br /&gt;
    End_Object       &lt;br /&gt;
&lt;br /&gt;
    Object Orderdtl_DD is a Data_Set NO_IMAGE&lt;br /&gt;
        Set main_file to Orderdtl.file_number     &lt;br /&gt;
        Send attach_server (Orderhea_DD(current_object))&lt;br /&gt;
        //Set constrain_file to orderhea.file_number&lt;br /&gt;
        begin_constraints                    &lt;br /&gt;
             Constrain orderdtl relates to orderhea&lt;br /&gt;
        end_constraints&lt;br /&gt;
    End_Object   &lt;br /&gt;
    &lt;br /&gt;
    Object oForm is a Entry_Form oOrder.frm&lt;br /&gt;
        Set location 1 0 RELATIVE&lt;br /&gt;
        Set Server to (Orderhea_DD(current_object)) &lt;br /&gt;
&lt;br /&gt;
        item_list&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_NUMBER         { AutoClear AutoFind }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_DATE           { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.SHIP_VIA             { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDERED_BY           { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_TOTAL          { AutoClear NoEnter }          &lt;br /&gt;
        end_item_list&lt;br /&gt;
        &lt;br /&gt;
    End_Object&lt;br /&gt;
&lt;br /&gt;
    Object oList is a Selection_List oOrder.lst&lt;br /&gt;
        Set location 13 0 RELATIVE&lt;br /&gt;
        Set Server to (Orderdtl_DD(current_object))&lt;br /&gt;
        &lt;br /&gt;
        Begin_Row    &lt;br /&gt;
          Entry_Item ORDERDTL.DETAIL_NUMBER      { AutoClear AutoFind NoPut}&lt;br /&gt;
          Entry_Item ORDERDTL.ITEM_ID            { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.QTY_ORDERED        { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.PRICE              { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.EXTENDED_PRICE     { AutoClear }&lt;br /&gt;
        End_Row&lt;br /&gt;
&lt;br /&gt;
    End_Object&lt;br /&gt;
                                                                 &lt;br /&gt;
 End_Object&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Basics]]&lt;br /&gt;
[[Category:Cookbook]]&lt;/div&gt;</summary>
		<author><name>217.10.26.4</name></author>
	</entry>
	<entry>
		<id>https://dataflex.wiki/index.php?title=WikiPlayGround&amp;diff=550</id>
		<title>WikiPlayGround</title>
		<link rel="alternate" type="text/html" href="https://dataflex.wiki/index.php?title=WikiPlayGround&amp;diff=550"/>
		<updated>2007-10-01T12:40:57Z</updated>

		<summary type="html">&lt;p&gt;217.10.26.4: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;you can write stuff here. (just press edit). You should also take a look at [[Getting started with wiki]]&lt;br /&gt;
&lt;br /&gt;
Really, just like that? Surely no...&lt;/div&gt;</summary>
		<author><name>217.10.26.4</name></author>
	</entry>
	<entry>
		<id>https://dataflex.wiki/index.php?title=Character_Mode_Cookbook&amp;diff=106</id>
		<title>Character Mode Cookbook</title>
		<link rel="alternate" type="text/html" href="https://dataflex.wiki/index.php?title=Character_Mode_Cookbook&amp;diff=106"/>
		<updated>2007-08-17T13:26:39Z</updated>

		<summary type="html">&lt;p&gt;217.10.26.4: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; property integer piCount public 0&lt;br /&gt;
 set piCount To (piCount+1)&lt;br /&gt;
&lt;br /&gt;
 local integer liNumber&lt;br /&gt;
 move 0 To liNumber&lt;br /&gt;
&lt;br /&gt;
 on_key KCLEAR                      : F5&lt;br /&gt;
 on_key KCANCEL      Send Cancel    : Esc&lt;br /&gt;
 on_key KENTER                      : Enter&lt;br /&gt;
 on_key KSAVE_RECORD Send Do_Report : F2&lt;br /&gt;
&lt;br /&gt;
 Promt commands&lt;br /&gt;
 df32&lt;br /&gt;
 dfcomp ex.src -pfv1    p=precompile&lt;br /&gt;
 dfcomp ex.src -fv1     fv1 creates prn-file (check errors)&lt;br /&gt;
 dfrun ex&lt;br /&gt;
 dfruncon ex            with mouse support&lt;br /&gt;
&lt;br /&gt;
 Move (key+1) to key    key = key++ //Dont forget to use paratheses (a+(b*c))&amp;lt;&amp;gt;a+b*c&lt;br /&gt;
&lt;br /&gt;
 Set value of (oPop(current_object)) item 0 to sVar      // item[0] = sVar&lt;br /&gt;
 Get Value item 0 to sVar                                // sVar    = item[0]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Set A to B  A=B&lt;br /&gt;
 Get A to B  B=A&lt;br /&gt;
&lt;br /&gt;
 get myFunc of (oObj(current_object)) &amp;quot;tmp&amp;quot; to sAnswer // sAnswer = oObj-&amp;gt;myFunc(&amp;quot;tmp&amp;quot;)&lt;br /&gt;
 --------------&lt;br /&gt;
 SET&lt;br /&gt;
    value of OBJ ITEM to VAL&lt;br /&gt;
    location X Y [ABSOLUTE/RELATIVE]&lt;br /&gt;
    focus_mode to POINTER_ONLY&lt;br /&gt;
 --------------&lt;br /&gt;
 Procedure MyProcedure&lt;br /&gt;
&lt;br /&gt;
 End_Procedure&lt;br /&gt;
&lt;br /&gt;
 Send MyProcedure&lt;br /&gt;
 ------------------&lt;br /&gt;
 Procedure DisplayResult String lsValue1 String lsValue2 String lsValue3&lt;br /&gt;
    set value of (oOutput(self)) item 0 to lsValue1&lt;br /&gt;
    set value of (oOutput(self)) item 1 to lsValue2&lt;br /&gt;
    set value of (oOutput(self)) item 2 to lsValue3&lt;br /&gt;
 end_procedure&lt;br /&gt;
 send DisplayResult lsValue1 &amp;quot;&amp;quot; &amp;quot;&amp;quot;&lt;br /&gt;
 --------------&lt;br /&gt;
 Procedure_Section // used in reports to handle paging in a smarter way&lt;br /&gt;
 --------------&lt;br /&gt;
&lt;br /&gt;
 Function MyFunction integer i returns Integer&lt;br /&gt;
 &lt;br /&gt;
 End_Function&lt;br /&gt;
 &lt;br /&gt;
 get MyFunction(self) as iRet&lt;br /&gt;
 --------------&lt;br /&gt;
 function myFunc string test returns string&lt;br /&gt;
  local string lsRval&lt;br /&gt;
  move test to lsRval&lt;br /&gt;
  function_return lsRval&lt;br /&gt;
 end_function&lt;br /&gt;
&lt;br /&gt;
 get myFunc of (oObj(current_object)) &amp;quot;tmp string&amp;quot; to sAnswer&lt;br /&gt;
 --------------&lt;br /&gt;
 start_ui       // starts a new console&lt;br /&gt;
 ui_accept      // has a return value&lt;br /&gt;
 activate_scope // opens a new &amp;quot;window&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 --------------&lt;br /&gt;
 /Answer.hdr&lt;br /&gt;
 +--------------------+&lt;br /&gt;
 /Answer.dat&lt;br /&gt;
 ¦ Answer:_________   ¦&lt;br /&gt;
 +--------------------+&lt;br /&gt;
 /*&lt;br /&gt;
 register_object oAnswer&lt;br /&gt;
 Object oAnswer is a Client Answer.hdr&lt;br /&gt;
   Set location 7 30 ABSOLUTE&lt;br /&gt;
   On_Key kcancel Send cancel &lt;br /&gt;
&lt;br /&gt;
  Object oAnswData is a Form Answer.dat&lt;br /&gt;
    Set location 1 0 RELATIVE&lt;br /&gt;
    Set focus_mode to POINTER_ONLY&lt;br /&gt;
    item_list&lt;br /&gt;
      On_Item &amp;quot;&amp;quot; Send none&lt;br /&gt;
    end_item_list&lt;br /&gt;
  End_Object&lt;br /&gt;
&lt;br /&gt;
  Procedure OpenAnswerForm string sValue&lt;br /&gt;
    local Integer iRval&lt;br /&gt;
    Set value of (oAnswData(current_object)) item 0 to sValue&lt;br /&gt;
    ui_accept current_object to iRval&lt;br /&gt;
  End_Procedure&lt;br /&gt;
&lt;br /&gt;
 End_Object&lt;br /&gt;
&lt;br /&gt;
 Send OpenAnswerForm to (oAnswer(current_object)) &amp;quot;test string&amp;quot;&lt;br /&gt;
 --------------&lt;br /&gt;
&lt;br /&gt;
 /oReportView1.SectionName&lt;br /&gt;
    __________________________________________________________________________&lt;br /&gt;
 /oReportView1.body&lt;br /&gt;
   ____________________  ______________________&lt;br /&gt;
 /*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 //Activate_View Activate_Report1 for oReportView&lt;br /&gt;
 Object oReportView1 is a Report_View NO_IMAGE&lt;br /&gt;
&lt;br /&gt;
    Object oMainReport is a seq.Report NO_IMAGE&lt;br /&gt;
&lt;br /&gt;
        Set Main_File to customer.file_number&lt;br /&gt;
        //set Ordering to 2 // Order by name&lt;br /&gt;
        Set Report_Title to &amp;quot;Report 1 - Show position of sections&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        set Page_End to 18 // Page length set to screen length&lt;br /&gt;
&lt;br /&gt;
        Procedure _PrintSectionName String lsValue&lt;br /&gt;
            Print lsValue to oReportView1.SectionName.1&lt;br /&gt;
            Output_Pagecheck oReportView1.SectionName&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        // Procedures Page_Top thru Page_Bottom ONLY get used by the outermost report&lt;br /&gt;
        // object... All other objects delegate messages to this ultimate parent.&lt;br /&gt;
        // creating these procedures in child reports will have NO effect.&lt;br /&gt;
&lt;br /&gt;
        // Procedure_Section Page_Top as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Report_Header as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Header as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Title as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Total as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Footer as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Report_Footer as oReportView1.SectionName&lt;br /&gt;
        Procedure_Section Page_Bottom as oReportView1.SectionName&lt;br /&gt;
            Send _PrintSectionName &amp;quot;Page_Bottom             (last thing printed on every page)&amp;quot;&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        Procedure_Section Body as oReportView1.body      // or Procedure_Section Body&lt;br /&gt;
            Print customer.name to oReportView1.body.1   // Sets the data fields&lt;br /&gt;
            Print customer.city to oReportView1.body.2&lt;br /&gt;
            Output_Pagecheck oReportView1.body           // Prints the data to screen&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        //Procedure_Section Total as oReportView1.SectionName&lt;br /&gt;
&lt;br /&gt;
    End_Object&lt;br /&gt;
&lt;br /&gt;
    Procedure run_report&lt;br /&gt;
        send run_report to (oMainReport(self))&lt;br /&gt;
    End_Procedure&lt;br /&gt;
 End_Object&lt;br /&gt;
&lt;br /&gt;
 procedure Activate_Report_View_1&lt;br /&gt;
  send run_report to (oReportView1(self))&lt;br /&gt;
 end_procedure&lt;br /&gt;
&lt;br /&gt;
 ---------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
 Object oOrder is a Entry_View_Client oOrder.hdr&lt;br /&gt;
    Set location 5 8 ABSOLUTE &lt;br /&gt;
&lt;br /&gt;
    Object Orderhea_DD is a Data_Set NO_IMAGE&lt;br /&gt;
        Set main_file to Orderhea.file_number&lt;br /&gt;
    End_Object       &lt;br /&gt;
&lt;br /&gt;
    Object Orderdtl_DD is a Data_Set NO_IMAGE&lt;br /&gt;
        Set main_file to Orderdtl.file_number     &lt;br /&gt;
        Send attach_server (Orderhea_DD(current_object))&lt;br /&gt;
        //Set constrain_file to orderhea.file_number&lt;br /&gt;
        begin_constraints                    &lt;br /&gt;
             Constrain orderdtl relates to orderhea&lt;br /&gt;
        end_constraints&lt;br /&gt;
    End_Object   &lt;br /&gt;
    &lt;br /&gt;
    Object oForm is a Entry_Form oOrder.frm&lt;br /&gt;
        Set location 1 0 RELATIVE&lt;br /&gt;
        Set Server to (Orderhea_DD(current_object)) &lt;br /&gt;
&lt;br /&gt;
        item_list&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_NUMBER         { AutoClear AutoFind }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_DATE           { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.SHIP_VIA             { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDERED_BY           { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_TOTAL          { AutoClear NoEnter }          &lt;br /&gt;
        end_item_list&lt;br /&gt;
        &lt;br /&gt;
    End_Object&lt;br /&gt;
&lt;br /&gt;
    Object oList is a Selection_List oOrder.lst&lt;br /&gt;
        Set location 13 0 RELATIVE&lt;br /&gt;
        Set Server to (Orderdtl_DD(current_object))&lt;br /&gt;
        &lt;br /&gt;
        Begin_Row    &lt;br /&gt;
          Entry_Item ORDERDTL.DETAIL_NUMBER      { AutoClear AutoFind NoPut}&lt;br /&gt;
          Entry_Item ORDERDTL.ITEM_ID            { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.QTY_ORDERED        { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.PRICE              { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.EXTENDED_PRICE     { AutoClear }&lt;br /&gt;
        End_Row&lt;br /&gt;
&lt;br /&gt;
    End_Object&lt;br /&gt;
                                                                 &lt;br /&gt;
 End_Object&lt;/div&gt;</summary>
		<author><name>217.10.26.4</name></author>
	</entry>
	<entry>
		<id>https://dataflex.wiki/index.php?title=Character_Mode_Cookbook&amp;diff=105</id>
		<title>Character Mode Cookbook</title>
		<link rel="alternate" type="text/html" href="https://dataflex.wiki/index.php?title=Character_Mode_Cookbook&amp;diff=105"/>
		<updated>2007-08-17T13:04:19Z</updated>

		<summary type="html">&lt;p&gt;217.10.26.4: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; on_key KCLEAR                      : F5&lt;br /&gt;
 on_key KCANCEL      Send Cancel    : Esc&lt;br /&gt;
 on_key KENTER                      : Enter&lt;br /&gt;
 on_key KSAVE_RECORD Send Do_Report : F2&lt;br /&gt;
&lt;br /&gt;
 Promt commands&lt;br /&gt;
 df32&lt;br /&gt;
 dfcomp ex.src -pfv1    p=precompile&lt;br /&gt;
 dfcomp ex.src -fv1     fv1 creates prn-file (check errors)&lt;br /&gt;
 dfrun ex&lt;br /&gt;
 dfruncon ex            with mouse support&lt;br /&gt;
&lt;br /&gt;
 Move (key+1) to key    key = key++ //Dont forget to use paratheses (a+(b*c))&amp;lt;&amp;gt;a+b*c&lt;br /&gt;
&lt;br /&gt;
 Set value of (oPop(current_object)) item 0 to sVar      // item[0] = sVar&lt;br /&gt;
 Get Value item 0 to sVar                                // sVar    = item[0]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Set A to B  A=B&lt;br /&gt;
 Get A to B  B=A&lt;br /&gt;
&lt;br /&gt;
 get myFunc of (oObj(current_object)) &amp;quot;tmp&amp;quot; to sAnswer // sAnswer = oObj-&amp;gt;myFunc(&amp;quot;tmp&amp;quot;)&lt;br /&gt;
 --------------&lt;br /&gt;
 SET&lt;br /&gt;
    value of OBJ ITEM to VAL&lt;br /&gt;
    location X Y [ABSOLUTE/RELATIVE]&lt;br /&gt;
    focus_mode to POINTER_ONLY&lt;br /&gt;
 --------------&lt;br /&gt;
 Procedure MyProcedure&lt;br /&gt;
&lt;br /&gt;
 End_Procedure&lt;br /&gt;
&lt;br /&gt;
 Send MyProcedure&lt;br /&gt;
 ------------------&lt;br /&gt;
 Procedure DisplayResult String lsValue1 String lsValue2 String lsValue3&lt;br /&gt;
    set value of (oOutput(self)) item 0 to lsValue1&lt;br /&gt;
    set value of (oOutput(self)) item 1 to lsValue2&lt;br /&gt;
    set value of (oOutput(self)) item 2 to lsValue3&lt;br /&gt;
 end_procedure&lt;br /&gt;
 send DisplayResult lsValue1 &amp;quot;&amp;quot; &amp;quot;&amp;quot;&lt;br /&gt;
 --------------&lt;br /&gt;
 Procedure_Section // used in reports to handle paging in a smarter way&lt;br /&gt;
 --------------&lt;br /&gt;
&lt;br /&gt;
 Function MyFunction integer i returns Integer&lt;br /&gt;
 &lt;br /&gt;
 End_Function&lt;br /&gt;
 &lt;br /&gt;
 get MyFunction(self) as iRet&lt;br /&gt;
 --------------&lt;br /&gt;
 function myFunc string test returns string&lt;br /&gt;
  local string lsRval&lt;br /&gt;
  move test to lsRval&lt;br /&gt;
  function_return lsRval&lt;br /&gt;
 end_function&lt;br /&gt;
&lt;br /&gt;
 get myFunc of (oObj(current_object)) &amp;quot;tmp string&amp;quot; to sAnswer&lt;br /&gt;
 --------------&lt;br /&gt;
 start_ui       // starts a new console&lt;br /&gt;
 ui_accept      // has a return value&lt;br /&gt;
 activate_scope // opens a new &amp;quot;window&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 --------------&lt;br /&gt;
 /Answer.hdr&lt;br /&gt;
 +--------------------+&lt;br /&gt;
 /Answer.dat&lt;br /&gt;
 ¦ Answer:_________   ¦&lt;br /&gt;
 +--------------------+&lt;br /&gt;
 /*&lt;br /&gt;
 register_object oAnswer&lt;br /&gt;
 Object oAnswer is a Client Answer.hdr&lt;br /&gt;
   Set location 7 30 ABSOLUTE&lt;br /&gt;
   On_Key kcancel Send cancel &lt;br /&gt;
&lt;br /&gt;
  Object oAnswData is a Form Answer.dat&lt;br /&gt;
    Set location 1 0 RELATIVE&lt;br /&gt;
    Set focus_mode to POINTER_ONLY&lt;br /&gt;
    item_list&lt;br /&gt;
      On_Item &amp;quot;&amp;quot; Send none&lt;br /&gt;
    end_item_list&lt;br /&gt;
  End_Object&lt;br /&gt;
&lt;br /&gt;
  Procedure OpenAnswerForm string sValue&lt;br /&gt;
    local Integer iRval&lt;br /&gt;
    Set value of (oAnswData(current_object)) item 0 to sValue&lt;br /&gt;
    ui_accept current_object to iRval&lt;br /&gt;
  End_Procedure&lt;br /&gt;
&lt;br /&gt;
 End_Object&lt;br /&gt;
&lt;br /&gt;
 Send OpenAnswerForm to (oAnswer(current_object)) &amp;quot;test string&amp;quot;&lt;br /&gt;
 --------------&lt;br /&gt;
&lt;br /&gt;
 /oReportView1.SectionName&lt;br /&gt;
    __________________________________________________________________________&lt;br /&gt;
 /oReportView1.body&lt;br /&gt;
   ____________________  ______________________&lt;br /&gt;
 /*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 //Activate_View Activate_Report1 for oReportView&lt;br /&gt;
 Object oReportView1 is a Report_View NO_IMAGE&lt;br /&gt;
&lt;br /&gt;
    Object oMainReport is a seq.Report NO_IMAGE&lt;br /&gt;
&lt;br /&gt;
        Set Main_File to customer.file_number&lt;br /&gt;
        //set Ordering to 2 // Order by name&lt;br /&gt;
        Set Report_Title to &amp;quot;Report 1 - Show position of sections&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        set Page_End to 18 // Page length set to screen length&lt;br /&gt;
&lt;br /&gt;
        Procedure _PrintSectionName String lsValue&lt;br /&gt;
            Print lsValue to oReportView1.SectionName.1&lt;br /&gt;
            Output_Pagecheck oReportView1.SectionName&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        // Procedures Page_Top thru Page_Bottom ONLY get used by the outermost report&lt;br /&gt;
        // object... All other objects delegate messages to this ultimate parent.&lt;br /&gt;
        // creating these procedures in child reports will have NO effect.&lt;br /&gt;
&lt;br /&gt;
        // Procedure_Section Page_Top as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Report_Header as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Header as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Title as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Total as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Footer as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Report_Footer as oReportView1.SectionName&lt;br /&gt;
        Procedure_Section Page_Bottom as oReportView1.SectionName&lt;br /&gt;
            Send _PrintSectionName &amp;quot;Page_Bottom             (last thing printed on every page)&amp;quot;&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        Procedure_Section Body as oReportView1.body      // or Procedure_Section Body&lt;br /&gt;
            Print customer.name to oReportView1.body.1   // Sets the data fields&lt;br /&gt;
            Print customer.city to oReportView1.body.2&lt;br /&gt;
            Output_Pagecheck oReportView1.body           // Prints the data to screen&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        //Procedure_Section Total as oReportView1.SectionName&lt;br /&gt;
&lt;br /&gt;
    End_Object&lt;br /&gt;
&lt;br /&gt;
    Procedure run_report&lt;br /&gt;
        send run_report to (oMainReport(self))&lt;br /&gt;
    End_Procedure&lt;br /&gt;
 End_Object&lt;br /&gt;
&lt;br /&gt;
 procedure Activate_Report_View_1&lt;br /&gt;
  send run_report to (oReportView1(self))&lt;br /&gt;
 end_procedure&lt;br /&gt;
&lt;br /&gt;
 ---------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
 Object oOrder is a Entry_View_Client oOrder.hdr&lt;br /&gt;
    Set location 5 8 ABSOLUTE &lt;br /&gt;
&lt;br /&gt;
    Object Orderhea_DD is a Data_Set NO_IMAGE&lt;br /&gt;
        Set main_file to Orderhea.file_number&lt;br /&gt;
    End_Object       &lt;br /&gt;
&lt;br /&gt;
    Object Orderdtl_DD is a Data_Set NO_IMAGE&lt;br /&gt;
        Set main_file to Orderdtl.file_number     &lt;br /&gt;
        Send attach_server (Orderhea_DD(current_object))&lt;br /&gt;
        //Set constrain_file to orderhea.file_number&lt;br /&gt;
        begin_constraints                    &lt;br /&gt;
             Constrain orderdtl relates to orderhea&lt;br /&gt;
        end_constraints&lt;br /&gt;
    End_Object   &lt;br /&gt;
    &lt;br /&gt;
    Object oForm is a Entry_Form oOrder.frm&lt;br /&gt;
        Set location 1 0 RELATIVE&lt;br /&gt;
        Set Server to (Orderhea_DD(current_object)) &lt;br /&gt;
&lt;br /&gt;
        item_list&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_NUMBER         { AutoClear AutoFind }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_DATE           { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.SHIP_VIA             { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDERED_BY           { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_TOTAL          { AutoClear NoEnter }          &lt;br /&gt;
        end_item_list&lt;br /&gt;
        &lt;br /&gt;
    End_Object&lt;br /&gt;
&lt;br /&gt;
    Object oList is a Selection_List oOrder.lst&lt;br /&gt;
        Set location 13 0 RELATIVE&lt;br /&gt;
        Set Server to (Orderdtl_DD(current_object))&lt;br /&gt;
        &lt;br /&gt;
        Begin_Row    &lt;br /&gt;
          Entry_Item ORDERDTL.DETAIL_NUMBER      { AutoClear AutoFind NoPut}&lt;br /&gt;
          Entry_Item ORDERDTL.ITEM_ID            { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.QTY_ORDERED        { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.PRICE              { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.EXTENDED_PRICE     { AutoClear }&lt;br /&gt;
        End_Row&lt;br /&gt;
&lt;br /&gt;
    End_Object&lt;br /&gt;
                                                                 &lt;br /&gt;
 End_Object&lt;/div&gt;</summary>
		<author><name>217.10.26.4</name></author>
	</entry>
	<entry>
		<id>https://dataflex.wiki/index.php?title=Character_Mode_Cookbook&amp;diff=104</id>
		<title>Character Mode Cookbook</title>
		<link rel="alternate" type="text/html" href="https://dataflex.wiki/index.php?title=Character_Mode_Cookbook&amp;diff=104"/>
		<updated>2007-08-17T13:00:35Z</updated>

		<summary type="html">&lt;p&gt;217.10.26.4: New page: on_key KCLEAR                      : F5 on_key KCANCEL      Send Cancel    : Esc on_key KENTER                      : Enter on_key KSAVE_RECORD Send Do_Report : F2  Promt commands df32 dfc...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;on_key KCLEAR                      : F5&lt;br /&gt;
on_key KCANCEL      Send Cancel    : Esc&lt;br /&gt;
on_key KENTER                      : Enter&lt;br /&gt;
on_key KSAVE_RECORD Send Do_Report : F2&lt;br /&gt;
&lt;br /&gt;
Promt commands&lt;br /&gt;
df32&lt;br /&gt;
dfcomp ex.src -pfv1    p=precompile&lt;br /&gt;
dfcomp ex.src -fv1     fv1 creates prn-file (check errors)&lt;br /&gt;
dfrun ex&lt;br /&gt;
dfruncon ex            with mouse support&lt;br /&gt;
&lt;br /&gt;
Move (key+1) to key    key = key++ //Dont forget to use paratheses (a+(b*c))&amp;lt;&amp;gt;a+b*c&lt;br /&gt;
&lt;br /&gt;
Set value of (oPop(current_object)) item 0 to sVar      // item[0] = sVar&lt;br /&gt;
Get Value item 0 to sVar                                // sVar    = item[0]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Set A to B  A=B&lt;br /&gt;
Get A to B  B=A&lt;br /&gt;
&lt;br /&gt;
get myFunc of (oObj(current_object)) &amp;quot;tmp&amp;quot; to sAnswer // sAnswer = oObj-&amp;gt;myFunc(&amp;quot;tmp&amp;quot;)&lt;br /&gt;
--------------&lt;br /&gt;
SET&lt;br /&gt;
    value of OBJ ITEM to VAL&lt;br /&gt;
    location X Y [ABSOLUTE/RELATIVE]&lt;br /&gt;
    focus_mode to POINTER_ONLY&lt;br /&gt;
--------------&lt;br /&gt;
Procedure MyProcedure&lt;br /&gt;
&lt;br /&gt;
End_Procedure&lt;br /&gt;
&lt;br /&gt;
Send MyProcedure&lt;br /&gt;
------------------&lt;br /&gt;
Procedure DisplayResult String lsValue1 String lsValue2 String lsValue3&lt;br /&gt;
    set value of (oOutput(self)) item 0 to lsValue1&lt;br /&gt;
    set value of (oOutput(self)) item 1 to lsValue2&lt;br /&gt;
    set value of (oOutput(self)) item 2 to lsValue3&lt;br /&gt;
end_procedure&lt;br /&gt;
send DisplayResult lsValue1 &amp;quot;&amp;quot; &amp;quot;&amp;quot;&lt;br /&gt;
--------------&lt;br /&gt;
Procedure_Section // used in reports to handle paging in a smarter way&lt;br /&gt;
--------------&lt;br /&gt;
&lt;br /&gt;
Function MyFunction integer i returns Integer&lt;br /&gt;
&lt;br /&gt;
End_Function&lt;br /&gt;
&lt;br /&gt;
get MyFunction(self) as iRet&lt;br /&gt;
--------------&lt;br /&gt;
function myFunc string test returns string&lt;br /&gt;
  local string lsRval&lt;br /&gt;
  move test to lsRval&lt;br /&gt;
  function_return lsRval&lt;br /&gt;
end_function&lt;br /&gt;
&lt;br /&gt;
get myFunc of (oObj(current_object)) &amp;quot;tmp string&amp;quot; to sAnswer&lt;br /&gt;
--------------&lt;br /&gt;
start_ui       // starts a new console&lt;br /&gt;
ui_accept      // has a return value&lt;br /&gt;
activate_scope // opens a new &amp;quot;window&amp;quot;&lt;br /&gt;
&lt;br /&gt;
--------------&lt;br /&gt;
/Answer.hdr&lt;br /&gt;
+--------------------+&lt;br /&gt;
/Answer.dat&lt;br /&gt;
¦ Answer:_________   ¦&lt;br /&gt;
+--------------------+&lt;br /&gt;
/*&lt;br /&gt;
register_object oAnswer&lt;br /&gt;
Object oAnswer is a Client Answer.hdr&lt;br /&gt;
  Set location 7 30 ABSOLUTE&lt;br /&gt;
  On_Key kcancel Send cancel&lt;br /&gt;
&lt;br /&gt;
  Object oAnswData is a Form Answer.dat&lt;br /&gt;
    Set location 1 0 RELATIVE&lt;br /&gt;
    Set focus_mode to POINTER_ONLY&lt;br /&gt;
    item_list&lt;br /&gt;
      On_Item &amp;quot;&amp;quot; Send none&lt;br /&gt;
    end_item_list&lt;br /&gt;
  End_Object&lt;br /&gt;
&lt;br /&gt;
  Procedure OpenAnswerForm string sValue&lt;br /&gt;
    local Integer iRval&lt;br /&gt;
    Set value of (oAnswData(current_object)) item 0 to sValue&lt;br /&gt;
    ui_accept current_object to iRval&lt;br /&gt;
  End_Procedure&lt;br /&gt;
&lt;br /&gt;
End_Object&lt;br /&gt;
&lt;br /&gt;
Send OpenAnswerForm to (oAnswer(current_object)) &amp;quot;test string&amp;quot;&lt;br /&gt;
--------------&lt;br /&gt;
&lt;br /&gt;
/oReportView1.SectionName&lt;br /&gt;
   __________________________________________________________________________&lt;br /&gt;
/oReportView1.body&lt;br /&gt;
   ____________________  ______________________&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
//Activate_View Activate_Report1 for oReportView&lt;br /&gt;
Object oReportView1 is a Report_View NO_IMAGE&lt;br /&gt;
&lt;br /&gt;
    Object oMainReport is a seq.Report NO_IMAGE&lt;br /&gt;
&lt;br /&gt;
        Set Main_File to customer.file_number&lt;br /&gt;
        //set Ordering to 2 // Order by name&lt;br /&gt;
        Set Report_Title to &amp;quot;Report 1 - Show position of sections&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        set Page_End to 18 // Page length set to screen length&lt;br /&gt;
&lt;br /&gt;
        Procedure _PrintSectionName String lsValue&lt;br /&gt;
            Print lsValue to oReportView1.SectionName.1&lt;br /&gt;
            Output_Pagecheck oReportView1.SectionName&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        // Procedures Page_Top thru Page_Bottom ONLY get used by the outermost report&lt;br /&gt;
        // object... All other objects delegate messages to this ultimate parent.&lt;br /&gt;
        // creating these procedures in child reports will have NO effect.&lt;br /&gt;
&lt;br /&gt;
        // Procedure_Section Page_Top as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Report_Header as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Header as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Title as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Total as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Page_Footer as oReportView1.SectionName&lt;br /&gt;
        // Procedure_Section Report_Footer as oReportView1.SectionName&lt;br /&gt;
        Procedure_Section Page_Bottom as oReportView1.SectionName&lt;br /&gt;
            Send _PrintSectionName &amp;quot;Page_Bottom             (last thing printed on every page)&amp;quot;&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        Procedure_Section Body as oReportView1.body      // or Procedure_Section Body&lt;br /&gt;
            Print customer.name to oReportView1.body.1   // Sets the data fields&lt;br /&gt;
            Print customer.city to oReportView1.body.2&lt;br /&gt;
            Output_Pagecheck oReportView1.body           // Prints the data to screen&lt;br /&gt;
        End_Procedure&lt;br /&gt;
&lt;br /&gt;
        //Procedure_Section Total as oReportView1.SectionName&lt;br /&gt;
&lt;br /&gt;
    End_Object&lt;br /&gt;
&lt;br /&gt;
    Procedure run_report&lt;br /&gt;
        send run_report to (oMainReport(self))&lt;br /&gt;
    End_Procedure&lt;br /&gt;
End_Object&lt;br /&gt;
&lt;br /&gt;
procedure Activate_Report_View_1&lt;br /&gt;
  send run_report to (oReportView1(self))&lt;br /&gt;
end_procedure&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Object oOrder is a Entry_View_Client oOrder.hdr&lt;br /&gt;
    Set location 5 8 ABSOLUTE &lt;br /&gt;
&lt;br /&gt;
    Object Orderhea_DD is a Data_Set NO_IMAGE&lt;br /&gt;
        Set main_file to Orderhea.file_number&lt;br /&gt;
    End_Object       &lt;br /&gt;
&lt;br /&gt;
    Object Orderdtl_DD is a Data_Set NO_IMAGE&lt;br /&gt;
        Set main_file to Orderdtl.file_number     &lt;br /&gt;
        Send attach_server (Orderhea_DD(current_object))&lt;br /&gt;
        //Set constrain_file to orderhea.file_number&lt;br /&gt;
        begin_constraints                    &lt;br /&gt;
             Constrain orderdtl relates to orderhea&lt;br /&gt;
        end_constraints&lt;br /&gt;
    End_Object   &lt;br /&gt;
    &lt;br /&gt;
    Object oForm is a Entry_Form oOrder.frm&lt;br /&gt;
        Set location 1 0 RELATIVE&lt;br /&gt;
        Set Server to (Orderhea_DD(current_object)) &lt;br /&gt;
&lt;br /&gt;
        item_list&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_NUMBER         { AutoClear AutoFind }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_DATE           { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.SHIP_VIA             { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDERED_BY           { AutoClear NoEnter }&lt;br /&gt;
          Entry_Item ORDERHEA.ORDER_TOTAL          { AutoClear NoEnter }          &lt;br /&gt;
        end_item_list&lt;br /&gt;
        &lt;br /&gt;
    End_Object&lt;br /&gt;
&lt;br /&gt;
    Object oList is a Selection_List oOrder.lst&lt;br /&gt;
        Set location 13 0 RELATIVE&lt;br /&gt;
        Set Server to (Orderdtl_DD(current_object))&lt;br /&gt;
        &lt;br /&gt;
        Begin_Row    &lt;br /&gt;
          Entry_Item ORDERDTL.DETAIL_NUMBER      { AutoClear AutoFind NoPut}&lt;br /&gt;
          Entry_Item ORDERDTL.ITEM_ID            { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.QTY_ORDERED        { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.PRICE              { AutoClear }&lt;br /&gt;
          Entry_Item ORDERDTL.EXTENDED_PRICE     { AutoClear }&lt;br /&gt;
        End_Row&lt;br /&gt;
&lt;br /&gt;
    End_Object&lt;br /&gt;
                                                                 &lt;br /&gt;
End_Object&lt;/div&gt;</summary>
		<author><name>217.10.26.4</name></author>
	</entry>
</feed>