Home page  
Help >
ddlPutMemo() - write data to a MEMO field
Version 7.11

ddlPutMemo() - write data to a MEMO field
   ddlPutMemo()

      Prototype:
         void ddlPutMemo(         /* write memo field or BLOB */
            CONTROL *ctl,
            char *OptnStr,
            char *ArgList,        /* command argument list */
            char *Image,          /* destination for memo field image */
            long ImageSize)       /* size of Image (including terminating null) */
 
         void ddlPutMemoBy(       /* append to an existing memo field */
            CONTROL *ctl,
            char *OptnStr,
            char *ArgList,        /* command argument list */
            char *Image,          /* destination for memo field image */
            long ImageSize)       /* size of Image (including terminating null) */
 
         void ddlPutMemoIn(       /* prepend to an existing memo field */
            CONTROL *ctl,
            char *OptnStr,
            char *ArgList,        /* command argument list */
            char *Image,          /* destination for memo field image */
            long ImageSize)       /* size of Image (including terminating null) */
    
      Permitted values in OptnStr:
         B  - Write BLOB data
    
      The format of 'ArgList' is:
         <dgname> <fieldname> <rec>
            where <dgname> is the ascii name of the desired data group
                           in the data base.
                  <fieldname> is the name of the desired Memo field
                  <rec>    is the ascii representation of the record number
                           to be read.
    
      Description:
         Write a memo field to an open data base. If the 'B' option is not
         present, ImageSize should include the terminating null character.
         to the data base.
    
         In the case of ddlPutMemo(), the incoming memo field or BLOB replaces
         an existing memo field or BLOB.
         If the incoming memo field or BLOB is empty (ImageSize == 0), an
         existing memo field or BLOC is removed.
    
         In the case of ddlPutMemoBy(), the incoming memo field is appended
         to an existing memo field or BLOB.
    
         In the case of ddlPutMemoIn(), the incoming memo field is prepended
         to an existing memo field or BLOB.

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.