1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Insert File In Table

Discussion in 'Development' started by Anderson Apdo de Souza, Mar 31, 2017.

  1. How do I insert a file into a progress table?
     
  2.  
  3. Stefan

    Stefan Active Member

    Code (progress):
    1. define temp-table tt no-undo field bb as blob.
    2.  
    3. create tt.
    4. copy-lob from file "mypicture.png" to tt.bb.
     
    Marco Mendoza likes this.
  4. Thank you !!

    But how do I pass this same file by parameter?

    I need to move from C # to a Progress procedure.
     
  5. Stefan

    Stefan Active Member

    Code (progress):
    1. define input parameter i_rw as raw no-undo.
    Otherwise you may want to read up on large objects: OpenEdge 11.6 Documentation
     
    Marco Mendoza likes this.

Share This Page