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

Error wen print to screen

edited February 2006 in RAP
I keep getting


when I show on screen and move the mouse cursor round on the report

Regards Brian

Useing Delphi 7.1 Pro on Win XP(dk) rrReport 9.03 ent. tryout

Comments

  • edited February 2006
    Hi Brian,

    This is not a known issue. Are you receiving this exception when designing
    or previewing a report at Delphi design time or at runtime in your
    application? If possible, could you please provide me with the exact steps
    you are taking to recreate this error?

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2006
    Hi Nico

    I'm getting the error when i preview the report at runtime, when i move the
    cursor to the icons on previewscreen.

    I have ppreport, ppDBPipeline on my form.


    and i don't get the error when i show the report inside the Reportbuilder


    regards
    Brian


  • edited February 2006
    Hi Brian,

    Which trial version of RB are you using? I will try to install it on my
    machine an recreate the error here. Please provide me with the exact steps
    you are taking to cause the error.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2006
    Hi Nico

    I'm useing Delphi 7.1 Pro on Win XP(dk) rrReport 9.03 ent. tryout
    got 3 DBtext + 2labels in detail notthing in fotter

    EurekaLog 5.0.6

    Application:
    ------------------------------------------------------
    1.1 Start Date : Tue, 7 Feb 2006 15:46:05 +0100
    1.2 Name/Description: AGBooking.exe
    1.3 Version Number : 0.53.0.7
    1.4 Parameters :
    1.5 Compilation Date: Tue, 7 Feb 2006 15:46:03 +0100

    Exception:
    ---------------------------------------------
    2.1 Date : Tue, 7 Feb 2006 15:46:31 +0100
    2.2 Address: 00641B9D
    2.3 Module : AGBooking.exe
    2.4 Type : EInvalidCast
    2.5 Message: Invalid class typecast.

    Active Controls:
    --------------------------------
    3.1 Form Class : TEditWindow
    3.2 Form Text : Unit28.pas
    3.3 Control Class: TBitBtn
    3.4 Control Text : Udskriv

    Computer:
    ----------------------------------------------------------
    4.1 Name : NIGHT-7UUDLYEK1
    4.2 User : Brian
    4.3 Total Memory : 1278 Mb
    4.4 Free Memory : 789 Mb
    4.5 Total Disk : 35,87 Gb
    4.6 Free Disk : 12,11 Gb
    4.7 System Up Time: 3 hours, 45 minutes, 24 seconds
    4.8 Processor : Mobile AMD Athlon 64 Processor 3000+
    4.9 Display Mode : 1280 x 1024, 32 bit

    Operating System:
    ------------------------------------
    5.1 Type : Microsoft Windows XP
    5.2 Build # : 2600
    5.3 Update : Service Pack 2
    5.4 Language: Danish

    Network:
    ---------------------------------------------------
    6.1 IP Address: 000.000.000.000 - 192.168.001.030
    6.2 Submask : 000.000.000.000 - 255.255.255.000
    6.3 Gateway : 000.000.000.000 - 192.168.001.001
    6.4 DNS 1 : 195.184.044.018 - 193.162.153.164
    6.5 DNS 2 : 000.000.000.000 - 194.239.134.083
    6.6 DHCP : OFF - ON

    Other Information:
    ------------------
    7.1 : NIGHT.DK

    Call Stack Information:
    ----------------------------------------------------------------------------------
    |Address |Module |Unit |Class |Procedure/Method
    |Line|
    ----------------------------------------------------------------------------------
    | Running Thread: ID=1664; Priority=0; Class=; [Main]
    |
    |--------------------------------------------------------------------------------|
    |00641B9D|AGBooking.exe|DesignerU.pas|TDesigner|Notification
    |102 |
    |007AA461|AGBooking.exe|Unit28.pas |TForm28 |BitBtn1Click
    |237 |
    |77D3BFFB|user32.dll | | |NotifyWinEvent
    | |
    |77D3BFF3|user32.dll | | |NotifyWinEvent
    | |
    |77D3EB39|user32.dll | | |CallNextHookEx
    | |
    |7C90F1CB|ntdll.dll | | |RtlMultiByteToUnicodeN
    | |
    |7C90F0A5|ntdll.dll | |
    |RtlAnsiStringToUnicodeString| |
    |7C90D9BF|ntdll.dll | | |NtFindAtom
    | |
    |77D3E900|user32.dll | | |CallWindowProcA
    | |
    |77D3E8EA|user32.dll | | |CallWindowProcA
    | |
    |77D3EB39|user32.dll | | |CallNextHookEx
    | |
    |7C9010ED|ntdll.dll | | |RtlLeaveCriticalSection
    | |
    |77D3B8BA|user32.dll | | |SendMessageW
    | |
    |77D3E900|user32.dll | | |CallWindowProcA
    | |
    |77D3E8EA|user32.dll | | |CallWindowProcA
    | |
    |77D3EB39|user32.dll | | |CallNextHookEx
    | |
    |77D394DA|user32.dll | | |GetCapture
    | |
    |77D396C2|user32.dll | | |DispatchMessageA
    | |
    |77D396B8|user32.dll | | |DispatchMessageA
    | |
    |007B4568|AGBooking.exe|Unit22.pas |TForm22 |SpeedButton3Click
    |2060|
    |77D3EB39|user32.dll | | |CallNextHookEx
    | |
    |77D396C2|user32.dll | | |DispatchMessageA
    | |
    |77D396B8|user32.dll | | |DispatchMessageA
    | |
    |007DDB45|AGBooking.exe|AGBooking.dpr| |
    |82 |
    |7C90E64C|ntdll.dll | | |NtSetInformationThread
    | |
    ----------------------------------------------------------------------------------



  • edited February 2006
    hmmm, i tryed to make another project and then load the report, without any
    errors, so it seems like the error is in my main project
    but after deleteing the report, on main project, adding a new emty1 i still
    got the problem :-(

    regards
    brian

  • edited February 2006
    Hi Brian,

    Have you tried removing the report from your main application and re-adding
    it? Is there any event code you've added with respect to the report object?

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2006
    hi Nico
    yes i have tryed the a few times, even enty ones but with same result.
    BTW i'm useing quickreport on some of the other forms

    brian

  • edited February 2006
    Hi Brian,

    My suggestion would be to begin simplifying the application with the problem
    until the error goes away. For instance, you know that you are unable to
    create the error with a new project, try removing some components/events
    from your app until you can find what is causing the problem. Once you find
    the problem, let me know so I can recreate it here and hopefully find a
    solution for you.

    --
    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.