<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">El 26/08/2021 a las 11:58, Michael Van
      Canneyt via fpc-pascal escribió:<br>
    </div>
    <blockquote type="cite"
      cite="mid:alpine.DEB.2.22.394.2108261156430.422900@home">
      <br>
      <br>
      On Thu, 26 Aug 2021, Santiago A. via fpc-pascal wrote:
      <br>
      <br>
      <blockquote type="cite">Hello:
        <br>
        <br>
        Freepascal 3.2.0. Windows 7-32bits
        <br>
        <br>
        TMyObject=class   private     fDset:TDataset;    function
        GetBookmark:TBookmarkStr; ... end;
        <br>
        <br>
        function TMyObject.GetBookmark:TBookmarkStr; Begin  
        result:=FDset.Bookmark; end;
        <br>
        <br>
        I get this compiling error:
        <br>
        Incompatible types: got "TBytes" expected "AnsiString"
        <br>
        <br>
        Nevertheless, /TbookmarkStr/ documentation example assigns
        bookmark property to a TBookmarkStr variable
        <br>
<a class="moz-txt-link-freetext" href="https://www.freepascal.org/docs-html/fcl/db/tdataset.bookmark.html">https://www.freepascal.org/docs-html/fcl/db/tdataset.bookmark.html</a>
        <br>
      </blockquote>
      <br>
      The type used for bookmarks changed over time.
      <br>
      <br>
      You really must use TBookmark.
      <br>
      <br>
      I have corrected the documentation, it seems the 2 types were
      switched when
      <br>
      I corrected the documentation when the type actually changed.
      Sorry about that :/
      <br>
    </blockquote>
    <br>
    So, TbookmarkSr is deprecated and I only have to use TBookmark.<br>
    <br>
    <blockquote type="cite"
      cite="mid:alpine.DEB.2.22.394.2108261156430.422900@home">
      <br>
      Michael.<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Saludos
Santi</pre>
  </body>
</html>