Home Devices

Export To File Already Open Error

edited May 2011 in Devices
RB Server 12.03 Delphi 2007 Oracle 10g

A user Exports a file and leaves it open, PDF / Excel / doesn't matter. They
then try to export again and receive the following error:

'TppProducer.PrintToPrinter: The File device has already been created'

This error persists until they close down the EXE and come back in again.


1> Is there a way to trap for the file already open?
2> Is there something I can do to reset the file device so the error can be
cleared without exiting?


Thanks - Jon Gray

Comments

  • edited May 2011
    Hi Jon,

    In my testing with RBServer 12.04, I do get an error when trying to
    create a file that is already open but something along the lines of
    "Unable to create file. File is already be used by another process". I
    am able to simply close the file and continue with my application.

    Are you able to reproduce this with the Server demos? If so, please
    provide me with the exact steps I need to take to see this behavior.


    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.