Alpha Video Training
Results 1 to 3 of 3

Thread: Can I import a PDF file the same way I do an image file

  1. #1
    Member
    Real Name
    David Montgomery
    Join Date
    May 2000
    Location
    Cedar Hill, TX
    Posts
    226

    Default Can I import a PDF file the same way I do an image file

    Is it possible to display a PDF file similar to the way a .jpg file is displayed in a JPG image field
    David Montgomery

  2. #2
    "Certified" Alphaholic
    Real Name
    Finian Lennon
    Join Date
    Apr 2000
    Location
    Atlanta, GA
    Posts
    1,792

    Default Re: Can I import a PDF file the same way I do an image file

    You have 3 choices for this (1) use sys_open(full path filename) or (2) embed the PDFViewer supercontrol in your form or (3) add a button or event that would call the PDF using the attached code. The attached function takes a full path filename as its argument.
    Attached Files Attached Files
    Finian

  3. #3
    "Certified" Alphaholic Ted Giles's Avatar
    Real Name
    Ted Giles
    Join Date
    Aug 2000
    Location
    In the Wolds, Louth, Lincolnshire, UK
    Posts
    4,269

    Default Re: Can I import a PDF file the same way I do an image file

    Finian helped me with this issue when I was building an EDMS scanning app.
    Once you have a path, you can auto select the actual pdf from a field on the form.
    In my case, I create a pdf name, launch the scanner, scan and insert the name from the form.
    Then, using OnFetch, the pdf is displayed in the pdf viewer super control.
    Only available pdfs are shown which match the pdf name on the form.
    HTH.
    Ted Giles
    Example Consulting - UK
    .

    http://ec12.example-software.com//
    See our site for Alpha Support, Conversion and Upgrade.

Similar Threads

  1. Deleting File from Image File Reference Field value
    By rcourtemanche in forum Application Server Version 9 - Web/Browser Applications
    Replies: 4
    Last Post: 12-01-2016, 04:20 AM
  2. How to display an image file in a dialog from a Image File Reference Field
    By cezar in forum Application Server Version 11 - Web/Browser Applications
    Replies: 22
    Last Post: 06-18-2013, 02:48 PM
  3. Delete Image: Image File Reference fields & File
    By MarcP in forum Application Server Version 11 - Web/Browser Applications
    Replies: 1
    Last Post: 03-06-2012, 03:38 PM
  4. get both Image File Reference and file name
    By Amanita in forum Alpha Five Version 8
    Replies: 5
    Last Post: 03-11-2007, 07:56 PM
  5. File Order Image file ref field
    By PhilD in forum Alpha Five Version 5
    Replies: 0
    Last Post: 12-07-2003, 05:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •