<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno dom 7 lug 2019 alle ore 20:02 Marco Ancillotti <<a href="mailto:gambas@servinfo.it">gambas@servinfo.it</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <div class="gmail-m_-3552384760133485464moz-cite-prefix">Il 07/07/19 19:36, Hans Lehmann ha
      scritto:<br>
    </div>
    <blockquote type="cite"> <font face="DejaVu Sans Mono"><br>
        In my Gambas program I added the following addition:<br>
        <br>
        <i>Dim hDateBox As Datebox</i><i><br>
        </i><i><br>
        </i><i>dcGebDatum.Field = "GebDatum"</i><i><br>
        </i><i>hDateBox = dcGebDatum.Children[0]</i><i><br>
        </i><i>hDateBox.Mode = 0</i><br>
        <br>
        Hans</font> </blockquote>
    <p>Hi , I solved using the same code you post , but I choose field
      directly in the gui not in the code , try if it solve , for me it
      works.</p>
    <p><br>
    </p>
  </div></blockquote><div>It should work, with any supported database, even setting DataControl from code, but it must be set before any other code.</div><div><br></div><div>Regards</div><div>Gianluigi<br></div></div></div>