0

Image Attachement ImportFile

I import a file from an URL and save it as an attachment of a data record : importfile(this, "myPathToFileAndFileName")

Work like a charm.

My step 2 is to show the file in a image field. For this i have :

Image:=file(this, myFileName)

Work like a charm.

Super, but when a run the step 2, the file is no longer in attachment. Where it is? It is completely moved to field image? Why?

Thanks for your response.

Robert

3 replies

null
    • Birger_H
    • 5 yrs ago
    • Reported - view

    It is still an attachment. Its juat that attachment displayed in image fields will be hidden in the attachment tab.

    Birger

    • Birger_H
    • 5 yrs ago
    • Reported - view

    It is still an attachment. Its juat that attachment displayed in image fields will be hidden in the attachment tab.

    Birger

    • EXCELTROP SL
    • Oscar_Ramirez
    • 4 yrs ago
    • Reported - view

    I have a problem as I have a file as an attachent in table A. I run a cursor on table A to store this file in an image field in table B:

    for p in Select A do

    b:=create B;

    b.image:=file(p,filename);

    end

     

    I can't get this to work.

Content aside

  • 4 yrs agoLast active
  • 3Replies
  • 2076Views