หลังจากมีการปรับปรุงระบบรายงานใน version หลัง ๆ (ประมาณ 3.53.3.x) ทำให้รายงานที่เขียนคำสั่งด้วย select 1 ใช้งานไม่ได้ ผมไ้ด้ทำการแก้ไขให้เป็น select * from xxxx แล้ว ทำให้รายงานสามารถ run ได้หากเราบังคับให้ทำรายงานจากฐานข้อมูลจริง แต่ถ้าไม่ติ๊กจะเกิด error รบกวนอาจารย์ MN ช่วยดูให้ด้วยครับ
EurekaLog 6.0.23
Application:
-------------------------------------------------------
1.1 Start Date : Tue, 30 Mar 2010 09:00:38 +0700
1.2 Name/Description: HOSMy.exe
1.3 Version Number : 3.53.3.29
1.4 Parameters :
1.5 Compilation Date: Mon, 29 Mar 2010 14:04:30 +0700
1.6 Up Time : 19 minutes, 26 seconds
Exception:
-----------------------------------------------------------------------------------
2.1 Date : Tue, 30 Mar 2010 09:20:04 +0700
2.2 Address : 0041B774
2.3 Module Name : HOSMy.exe
2.4 Module Version: 3.53.3.29
2.5 Type : EVariantTypeCastError
2.6 Message : Could not convert variant of type (Null) into type (Integer).
2.7 ID : 2D4A
2.8 Count : 1
2.9 Status : New
2.10 Note :
User:
-------------------------------------------------------
3.1 ID : admin
3.2 Name : User
3.3 Email :
3.4 Company : Home
3.5 Privileges: SeChangeNotifyPrivilege - ON
SeSecurityPrivilege - OFF
SeBackupPrivilege - OFF
SeRestorePrivilege - OFF
SeSystemtimePrivilege - OFF
SeShutdownPrivilege - OFF
SeRemoteShutdownPrivilege - OFF
SeTakeOwnershipPrivilege - OFF
SeDebugPrivilege - OFF
SeSystemEnvironmentPrivilege - OFF
SeSystemProfilePrivilege - OFF
SeProfileSingleProcessPrivilege - OFF
SeIncreaseBasePriorityPrivilege - OFF
SeLoadDriverPrivilege - ON
SeCreatePagefilePrivilege - OFF
SeIncreaseQuotaPrivilege - OFF
SeUndockPrivilege - ON
SeManageVolumePrivilege - OFF
SeImpersonatePrivilege - ON
SeCreateGlobalPrivilege - ON
Active Controls:
--------------------------------------------
4.1 Form Class : TReportPrintForm
4.2 Form Text : Prepare to Print Report
4.3 Control Class: TReportPrintForm
4.4 Control Text : Prepare to Print Report
Computer:
--------------------------------------------------------------------------
5.1 Name : INV
5.2 Total Memory : 1022 Mb
5.3 Free Memory : 496 Mb
5.4 Total Disk : 117.19 Gb
5.5 Free Disk : 70.68 Gb
5.6 System Up Time: 1 day, 18 hours, 55 minutes, 5 seconds
5.7 Processor : Genuine Intel(R) CPU 2160 @ 1.80GHz
5.8 Display Mode : 1024 x 768, 32 bit
5.9 Display DPI : 96
5.10 Video Card : NVIDIA GeForce 7300 LE (driver 9.1.3.1 - RAM 256 MB)
5.11 Printer : EPSON LQ-630 ESC/P2 (driver 6.0.6001.22116)
Operating System:
------------------------------------
6.1 Type : Microsoft Windows XP
6.2 Build # : 2600
6.3 Update : Service Pack 3
6.4 Language: Thai
6.5 Charset : 222
Network:
---------------------------------------------------------------------
7.1 IP Address: 192.168.000.010 - 005.009.227.023 - 192.168.056.001
7.2 Submask : 255.255.255.000 - 255.000.000.000 - 255.255.255.000
7.3 Gateway : 192.168.000.211 - 000.000.000.000 - 000.000.000.000
7.4 DNS 1 : 008.008.008.008 - 000.000.000.000 - 000.000.000.000
7.5 DNS 2 : 008.008.004.004 - 000.000.000.000 - 000.000.000.000
7.6 DHCP : OFF - ON - OFF
Custom Information:
---------------------------------------------------------------------------------------------------------------------------------------------
8.1 Hospital Code : 11065 [โรงพยาบาล พนมไพร]
8.2 Database Type : MySQL
8.3 Database Protocol : mysql-4.1 [5.1.42-percona
Database hos @ 192.168.0.200]
8.4 :
8.5 No 1 : select get_serialnumber('report_access_id') as cc
8.6 No 2 : SHOW COLUMNS FROM hos.serial LIKE '%'
8.7 No 3 : SHOW TABLES FROM hos LIKE 'serial'
8.8 DBMS Variables :
8.9 :