Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Creating a custom viewer

edited January 2003 in General
I have downloaded the file 'myCloseButtonPreviewPlugin.zip' which is an
example of how to create a custom preview form. When trying to compile the
project I get the error:

'[Fatal Error] ReportOnForm.pas(6): File not found: 'Variants.dcu'

Can anyone help mw with this.

I am trying to find the simplest way to create a custom viewer.


Kind Regards,

Matthew Pascoe
Logistics Information Systems
Ph: (02) 9236 7325
Fax: (02) 9590 9293
Mob: 0418 465 353

Comments

  • edited January 2003
    Hi Matthew,

    you must be using D5 or older. Delete the reference to 'Variants' in the uses clause and see what happens.

    HTH,
    Chris Ueberall;
  • edited January 2003
    Hi Chris,

    Thanks, that fixed the error and allowed the project to compile.

    However, I would like to add some buttons and change the appearance of the
    viewer at design time. How can I do that?

    Thanks for any help.

    Matthew

  • edited January 2003
    Please ignore my last post, I have sorted out the problem.

    Matthew

This discussion has been closed.