Results 1 to 9 of 9
  1. #1
    mick3911 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Feb 2013
    Location
    Wirral, UK
    Posts
    66

    Displaying OLE Object

    I am nearing completion of a DB that records employees training that is linked to SQL tables (just a couple of more stages to go).



    Currently an employee signs a training document stating that they have understood the training received and the trainer signs stating that they are satisfied that the employee has understood the training given.

    I have created a Power Apps app where instead of the training document being signed, individuals sign the app on a tablet which is stored as a varbinary(max) in the same SQL tables as the DB.

    My problem is that when I create a from based on the table, the signatures are not being displayed (everything else pulls through fine).

    When I open the relevant SQL table in Access the signature fields contain an OLE Object.

    I have searched high & low trying to figure this out but with no joy so I am hoping that you guys & gals can help me.

    Unfortunately, I cannot save the signatures elsewhere and then link the OLE Object (image) to the relevant path (oh how I wish).

    The table is named tblTrainingHistory and has the following fields;

    TrainingID – Autonumber

    EmployeeNo – Number

    TrainingCode – Text

    DateCompleted – Date

    TrainerSig – varbinary(max)

    EmployeeSig – varbinary(max)

  2. #2
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Crossposted here https://www.access-programmers.co.uk...object.319194/ with some suggestions

    @Mick have a read here Cross Posting Etiquette: https://www.excelguru.ca/content.php?184
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    mick3911 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Feb 2013
    Location
    Wirral, UK
    Posts
    66
    Hi Minty,

    Yes I do realise it is a crosspost but grateful as I am for the replies and help given out by the members it didn't really solve my issue so was hoping that members on here might be able to help.

    Point taken though and in future will post a link to original post after some thought of the people trying to help me out.

  4. #4
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,800
    It would seem you're not the only one who's had this issue. Here's one that might help.
    https://stackoverflow.com/questions/...tore-ole-image
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    Have you tried to download the signature file locally using Stream or AppendChunk and (with a fixed name such as Signature.jpg) and display that?

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  6. #6
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Quote Originally Posted by Micron View Post
    It would seem you're not the only one who's had this issue. Here's one that might help.
    https://stackoverflow.com/questions/...tore-ole-image
    I remember trying to do this and having a nightmare trying to display the signature after capture.
    I know I eventually made it work, but unfortunately I don't seem to have the database it was in to see what the solution was. Not much help - but it did work eventually.

    @mick - I'll keep looking through as it's something I may have a requirement for in a current project.

    I'm wondering if Gicu's solution is what I ended up doing. Old age and forgetfulness is a wonderful thing...
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  7. #7
    mick3911 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Feb 2013
    Location
    Wirral, UK
    Posts
    66
    Hi Gicu,

    Unfortunately, I cannot save the signatures elsewhere

  8. #8
    mick3911 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Feb 2013
    Location
    Wirral, UK
    Posts
    66
    Quote Originally Posted by Minty View Post
    @mick - I'll keep looking through as it's something I may have a requirement for in a current project.
    That would be appreciated.

    Quote Originally Posted by Minty View Post
    Old age and forgetfulness is a wonderful thing...
    I know where you are coming from

  9. #9
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    It is only temporary, you save it in the same location as the front-end (which you know it is a folder where the user has full permissions) and you delete it in the unload event of the main switchboard form (or whatever form needs to display the signature).

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

Please reply to this thread with any new information or opinions.

Similar Threads

  1. OLE Object not displaying images anymore
    By SierraJuliet in forum Access
    Replies: 2
    Last Post: 01-27-2019, 11:35 PM
  2. Replies: 4
    Last Post: 05-02-2016, 04:33 AM
  3. Replies: 0
    Last Post: 04-14-2016, 06:53 AM
  4. Displaying scrollbars in embedded Excel object
    By FelicianoRa@coned.com in forum Forms
    Replies: 1
    Last Post: 01-28-2013, 01:11 PM
  5. Replies: 0
    Last Post: 02-04-2009, 04:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums