BMS-HOSxP Community

HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: anukul ที่ กันยายน 06, 2007, 14:36:08 PM

หัวข้อ: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: anukul ที่ กันยายน 06, 2007, 14:36:08 PM
ลองเขียน Custom report ให้ ทีมอายุกรรม สำหรับพิมพ์ให้ ผป. กรณีส่งต่อไป สถานีอนามัย PCU

มีการดึงรายการยา ที่สั่งใน VN นี้  พร้อมกับ ดึงข้อมูลรายการผล LAB  3 ครั้งหลังสุด โดยใช้ variable ช่วย ก็ดึงข้อมูลมาได้ครับ  แต่เกิด error  รบกวนเซียน report ช่วยหน่อยครับ
หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: anukul ที่ กันยายน 06, 2007, 14:38:56 PM
พอกด OK  ก็ไม่หาย ขึ้น pop up มาตลอด   เรียกใช้ Task manager ก็ใช้ไม่ได้ disable   สุดท้ายต้อง restart อย่างเดียวครับ
หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: anukul ที่ กันยายน 06, 2007, 17:00:35 PM
ลืมแนบ ไฟล์ report ครับ
 ;D  ;D
หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: doramon ที่ กันยายน 06, 2007, 17:14:06 PM
ผมทดสอบ  3.50.9.1  พิมพ์ได้ปกติครับ

ผมคิดว่า หมอ ไปแก้ใน reportbuilder   UI ใหม่หรือเปล่าครับ
มันไม่สามารถกับไปใช้พิมพ์โปรแกรมเก่าได้ครับ
ต้องพิมพ์กับ version ใหม่ครับ

หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: anukul ที่ กันยายน 06, 2007, 17:49:30 PM
ผมเขียน report ใน 50.4.10  แล้วก็ลองใช้กับ 50.4.10 เหมือนกัน  ยังไม่ลง ver ใหม่ (กะว่า วันศุกร์นี้จะลง 50.8.3oldUI)
ของอ๊อด ผล lab ขึ้นมาดีมั๊ย
ผมดูจาก error คล้ายกับว่ามันไปเจอ variable ที่ไม่มีค่า เช่น LDL ยังไม่เคยเจาะ มันเลยวนลูปอยู่หรือเปล่าไม่รู้

 ???  ???
หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: doramon ที่ กันยายน 06, 2007, 17:51:48 PM
พิมพ์ออกมาได้ดีครับ ไม่มีปัญหาอะไรเลย
หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: anukul ที่ กันยายน 06, 2007, 18:38:23 PM
EurekaLog 5.1.12

Application:
-------------------------------------------------------
  1.1 Start Date      : Thu, 6 Sep 2007 18:06:03 +0700
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 3.50.4.10
  1.4 Parameters      :
  1.5 Compilation Date: Tue, 10 Apr 2007 06:48:54 +0700

Exception:
------------------------------------------------------------------------------
  2.1 Date   : Thu, 6 Sep 2007 18:09:49 +0700
  2.2 Address: 07DC0110
  2.3 Module : HOSMy.exe
  2.4 Type   : EAccessViolation
  2.5 Message: Access violation at address 07DC0110. Read of address 07DC0110.

Active Controls:
---------------------------------------------------------------------
  3.1 Form Class   : TKSKFPMainForm
  3.2 Form Text    : :: HOS-XP Report Module -::  - [Report Designer]
  3.3 Control Class: TdxEdit
  3.4 Control Text :

Computer:
-------------------------------------------------------------
  4.1 Name          : ANES
  4.2 User          : Administrator
  4.3 Total Memory  : 255 Mb
  4.4 Free Memory   : 25 Mb
  4.5 Total Disk    : 19.53 Gb
  4.6 Free Disk     : 15.07 Gb
  4.7 System Up Time: 1 day, 11 hours, 22 minutes, 25 seconds
  4.8 Processor     : Intel(R) Celeron(R) CPU 1.70GHz
  4.9 Display Mode  : 1024 x 768, 16 bit

Operating System:
--------------------------------------
  5.1 Type    : Microsoft Windows 2000
  5.2 Build # : 2195
  5.3 Update  : Service Pack 4
  5.4 Language: Thai

Network:
---------------------------------
  6.1 IP Address: 192.168.001.101
  6.2 Submask   : 255.255.255.000
  6.3 Gateway   : 192.168.001.130
  6.4 DNS 1     : 203.150.218.161
  6.5 DNS 2     : 203.150.215.001
  6.6 DHCP      : OFF           

Other Information:
--------------------------------------------------------------------------------------------
  7.1 : Hospital Code = 10732 [âç¾ÂÒºÒÅ ÁСÒÃÑ¡Éì]
        Database Type = MySQL
        Database Protocol = mysql-4.1
        Last 3 SQL Statement
        .
        No 1 = select accessright from opduser where loginname='anukul'
        .
        No 2 = select count(loginname) as cc from opduser
        .
        No 3 = select count(rightname) as cc from accessoperation  where rightname='DOCTOR'
        .
        Server variable

Call Stack Information:
---------------------------------------------------------------------
|Address |Module   |Unit     |Class       |Procedure/Method|Line    |
---------------------------------------------------------------------
| Running Thread: ID=548; Priority=0; Class=; [Main]                |
|-------------------------------------------------------------------|
|004CC5A0|HOSMy.exe|Forms.pas|TApplication|ProcessMessage  |7649[2] |
|004CC58C|HOSMy.exe|Forms.pas|TApplication|ProcessMessage  |7647[0] |
|004CC6C2|HOSMy.exe|Forms.pas|TApplication|HandleMessage   |7689[1] |
|004CC6B8|HOSMy.exe|Forms.pas|TApplication|HandleMessage   |7688[0] |
|004CC8E2|HOSMy.exe|Forms.pas|TApplication|Run             |7773[16]|
|004CC84C|HOSMy.exe|Forms.pas|TApplication|Run             |7757[0] |
|018CAAF4|HOSMy.exe|HOSMy.dpr|            |Initialization  |2363[93]|
---------------------------------------------------------------------

Modules Information:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|Handle  |Name          |Description                                                          |Version        |Size    |Modified           |Path                                    |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|00230000|ScreenCam.dll |                                                                     |               |441344  |2006-04-14 13:16:36|C:\Program Files\HOSxP                  |
|00400000|HOSMy.exe     |                                                                     |3.50.4.10      |40941056|2007-04-10 06:48:56|C:\Program Files\HOSxP                  |
|04150000|libintl-2.dll |                                                                     |               |51016   |2003-02-01 15:51:36|C:\WINNT\system32                       |
|04160000|libiconv-2.dll|                                                                     |               |916849  |2003-01-31 18:41:30|C:\WINNT\system32                       |
|04240000|krb5_32.dll   |Kerberos v5 - MIT GSS / Kerberos v5 distribution                     |1.3.5.0        |524288  |2005-10-12 09:32:32|C:\WINNT\system32                       |
|042D0000|ssleay32.dll  |OpenSSL Shared Library                                               |0.9.8.1        |200704  |2005-11-03 11:50:30|C:\WINNT\system32                       |
|05E60000|libmysql41.dll|                                                                     |               |1056768 |2004-07-12 14:36:18|C:\WINNT\system32                       |
|05F80000|CSLSP.DLL     |McAfee Internet Security Layered Service Provider                    |1.0.1050.1     |93696   |2003-03-11 01:00:00|C:\WINNT\system32                       |
|070E0000|msi.dll       |Windows Installer                                                    |2.0.2600.1183  |2017792 |2003-07-01 11:47:40|C:\WINNT\system32                       |
|10000000|libeay32.dll  |OpenSSL Shared Library                                               |0.9.8.1        |1064960 |2005-11-03 11:50:16|C:\WINNT\system32                       |
|11200000|PCIHOOKS.DLL  |                                                                     |               |88928   |2007-03-19 15:14:12|C:\Program Files\NetSupport Manager     |
|1C000000|comerr32.dll  |COM_ERR - Common Error Handler for MIT Kerberos v5 / GSS distribution|1.3.5.0        |24576   |2005-10-12 08:32:34|C:\WINNT\system32                       |
|1F440000|msado15.dll   |Microsoft Data Access - ActiveX Data Objects                         |2.80.1022.0    |512000  |2003-02-20 17:39:00|C:\Program Files\Common Files\System\ADO|
|1F670000|MSDART.DLL    |Microsoft Data Access - OLE DB Runtime Routines                      |2.80.1022.0    |143360  |2003-02-20 17:39:00|C:\WINNT\system32                       |
|4DAE0000|midas.dll     |Borland MIDAS Component Package                                      |10.0.2151.25345|383488  |2005-11-15 01:00:00|C:\WINNT\system32                       |
|63100000|libpq.dll     |PostgreSQL Access Library                                            |8.1.1.5344     |175085  |2005-12-10 14:26:46|C:\WINNT\system32                       |
|65A30000|wbemsvc.dll   |Windows Management Instrumentation                                   |1.50.1085.7    |41036   |2003-07-01 11:47:40|C:\WINNT\system32\wbem                  |
|65A60000|wbemprox.dll  |Windows Management Instrumentation                                   |1.50.1085.100  |41061   |2003-07-01 11:47:40|C:\WINNT\system32\wbem                  |
|65B50000|wbemdisp.dll  |Windows Management Instrumentation                                   |1.50.1085.63   |168013  |2003-07-01 11:47:40|C:\WINNT\system32\wbem                  |
|65C20000|wbemcomn.dll  |Windows Management Instrumentation                                   |1.50.1085.100  |708696  |2003-07-01 11:47:40|C:\WINNT\system32\wbem                  |
|66650000|USP10.dll     |Uniscribe Unicode script processor                                   |1.325.2195.6692|315664  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|690A0000|psapi.dll     |Process Status Helper                                                |5.0.2134.1     |28944   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|695E0000|olepro32.dll  |                                                                     |5.0.4522.0     |164112  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|6A8F0000|MSVFW32.dll   |Microsoft Video for Windows DLL                                      |5.0.2195.6612  |116496  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|6B2C0000|msimg32.dll   |GDIEXT Client DLL                                                    |5.0.2180.1     |5392    |2003-07-01 11:47:40|C:\WINNT\system32                       |
|6CA60000|LPK.DLL       |Language Pack                                                        |5.0.2195.6692  |20240   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|6E420000|INDICDLL.dll  |Keyboard Language Indicator Shell Hook Extension                     |5.0.2920.0     |11536   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|70200000|wininet.dll   |Internet Extensions for Win32                                        |6.0.2800.1106  |585728  |2002-08-29 07:14:40|C:\WINNT\system32                       |
|70BD0000|SHLWAPI.DLL   |Shell Light-weight Utility Library                                   |6.0.2800.1106  |395264  |2002-08-29 07:14:40|C:\WINNT\system32                       |
|71160000|browseui.dll  |Shell Browser UI Library                                             |6.0.2800.1106  |1026048 |2002-08-29 07:14:40|C:\WINNT\system32                       |
|71710000|comctl32.dll  |Common Controls Library                                              |5.81.4916.400  |529680  |2002-08-29 07:14:40|C:\WINNT\system32                       |
|719B0000|SHFOLDER.DLL  |Shell Folder Service                                                 |6.0.2800.1106  |22528   |2002-08-29 07:14:40|C:\WINNT\system32                       |
|74870000|AVIFIL32.DLL  |Microsoft AVI File support library                                   |5.0.2195.6612  |78608   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|74C30000|agentmpx.dll  |Microsoft Agent Custom Marshaling Proxy DLL                          |2.0.0.3422     |46352   |2003-07-01 11:47:40|C:\WINNT\msagent                        |
|74C60000|agentctl.dll  |Microsoft Agent Control                                              |2.0.0.3422     |140048  |2003-07-01 11:47:40|C:\WINNT\msagent                        |
|74FD0000|msafd.dll     |Microsoft Windows Sockets 2.0 Service Provider                       |5.0.2195.6602  |108816  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|75010000|wshtcpip.dll  |Windows Sockets Helper DLL                                           |5.0.2195.6601  |17680   |2003-07-01 11:47:40|C:\WINNT\System32                       |
|75020000|WS2HELP.DLL   |Windows Socket 2.0 Helper for Windows NT                             |5.0.2134.1     |18192   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|75030000|WS2_32.DLL    |Windows Socket 2.0 32-Bit DLL                                        |5.0.2195.6601  |69904   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|75050000|wsock32.dll   |Windows Socket 32-Bit DLL                                            |5.0.2195.6603  |21776   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|75150000|SAMLIB.DLL    |SAM Library DLL                                                      |5.0.2195.6666  |49936   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|75170000|netapi32.dll  |Net Win32 API DLL                                                    |5.0.2195.6601  |311568  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|751C0000|NETRAP.DLL    |Net Remote Admin Protocol DLL                                        |5.0.2134.1     |11536   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|752F0000|oledlg.dll    |Microsoft Windows(TM) OLE 2.0 User Interface Support                 |5.0.2134.1     |118032  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|759B0000|LZ32.DLL      |LZ Expand/Compress API DLL                                           |5.0.2195.6611  |10000   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|75AC0000|msls31.dll    |Microsoft Line Services library file                                 |3.10.337.0     |148752  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|75E60000|imm32.dll     |Windows 2000 IMM32 API Client DLL                                    |5.0.2195.6655  |96528   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|76020000|UNIDRVUI.DLL  |UniDriver User Interface                                             |0.3.1281.0     |197120  |2003-06-19 12:05:04|C:\WINNT\system32\spool\DRIVERS\W32X86\3|
|76620000|mpr.dll       |Multiple Provider Router DLL                                         |5.0.2195.6611  |55056   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|76AC0000|UNIDRV.DLL    |Unidrv Printer Driver                                                |0.3.1282.1     |239104  |2003-06-19 12:05:04|C:\WINNT\system32\spool\DRIVERS\W32X86\3|
|76B20000|RICHED32.DLL  |Wrapper Dll for Richedit 1.0                                         |5.0.2134.1     |3856    |2003-07-01 11:47:40|C:\WINNT\system32                       |
|76B30000|comdlg32.dll  |Common Dialogs DLL                                                   |5.0.3700.6693  |241424  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|772B0000|RICHED20.DLL  |Rich Text Edit Control, v3.0                                         |5.30.23.1215   |431888  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77320000|MPRAPI.DLL    |Windows NT MP Router Administration DLL                              |5.0.2181.1     |81168   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77340000|iphlpapi.dll  |IP Helper API                                                        |5.0.2195.6602  |69904   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77360000|DHCPCSVC.DLL  |DHCP Client Service                                                  |5.0.2195.6685  |92944   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77380000|ADSLDPC.DLL   |ADs LDAP Provider C DLL                                              |5.0.2195.6701  |133904  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|773B0000|ACTIVEDS.DLL  |ADs Router Layer DLL                                                 |5.0.2195.6601  |182032  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|773E0000|ATL.DLL       |ATL Module for Windows NT (Unicode)                                  |3.0.9435.0     |74810   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77410000|MSACM32.dll   |Microsoft ACM Audio Filter                                           |5.0.2134.1     |66832   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77430000|MSASN1.DLL    |ASN.1 Runtime APIs                                                   |5.0.2195.6666  |53008   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77440000|CRYPT32.dll   |Crypto API32                                                         |5.131.2195.6661|479504  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|774C0000|RASMAN.DLL    |Remote Access Connection Manager                                     |5.0.2195.6604  |56080   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|774E0000|RASAPI32.DLL  |Remote Access API                                                    |5.0.2195.6625  |197392  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77520000|ICMP.DLL      |ICMP DLL                                                             |5.0.2134.1     |7440    |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77530000|TAPI32.DLL    |Microsoft? Windows(TM) Telephony API Client DLL                      |5.0.2195.6664  |126736  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77560000|wdmaud.drv    |WDM Audio driver mapper                                              |5.0.2195.6673  |21264   |2003-06-19 12:05:04|C:\WINNT\system32                       |
|77570000|winmm.dll     |MCI API DLL                                                          |5.0.2161.1     |189200  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|775A0000|CLBCATQ.DLL   |                                                                     |2000.2.3504.0  |510224  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|777E0000|winrnr.dll    |LDAP RnR Provider DLL                                                |5.0.2160.1     |19216   |2003-07-01 11:47:40|C:\WINNT\System32                       |
|777F0000|rasadhlp.dll  |Remote Access AutoDial Helper                                        |5.0.2168.1     |7440    |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77800000|winspool.drv  |Windows Spooler Driver                                               |5.0.2195.6659  |113936  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77820000|version.dll   |Version Checking and File Installation Libraries                     |5.0.2195.6623  |16144   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77830000|RTUTILS.DLL   |Routing Utilities                                                    |5.0.2168.1     |44816   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77880000|SETUPAPI.DLL  |Windows Setup API                                                    |5.0.2195.6622  |570128  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77950000|WLDAP32.DLL   |Win32 LDAP API DLL                                                   |5.0.2195.6666  |162064  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77980000|DNSAPI.DLL    |DNS Client API DLL                                                   |5.0.2195.6680  |134928  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|779B0000|oleaut32.dll  |                                                                     |2.40.4522.0    |626960  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77A50000|ole32.dll     |Microsoft OLE for Windows                                            |5.0.2195.6692  |996112  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77D30000|RPCRT4.DLL    |Remote Procedure Call Runtime                                        |5.0.2195.6701  |454416  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77E10000|USER32.DLL    |Windows 2000 USER API Client DLL                                     |5.0.2195.6688  |403216  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77F40000|GDI32.DLL     |GDI Client DLL                                                       |5.0.2195.6660  |233744  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|77F80000|ntdll.dll     |NT Layer DLL                                                         |5.0.2195.6685  |491792  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|78000000|MSVCRT.DLL    |Microsoft (R) C Runtime Library                                      |6.1.9844.0     |286773  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|782C0000|rnr20.dll     |Windows Socket2 NameSpace DLL                                        |5.0.2195.6603  |36624   |2003-07-01 11:47:40|C:\WINNT\System32                       |
|782F0000|shell32.dll   |Windows Shell Common Dll                                             |5.0.3700.6705  |2383632 |2003-07-01 11:47:40|C:\WINNT\system32                       |
|7C0F0000|USERENV.DLL   |Userenv                                                              |5.0.2195.6711  |389904  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|7C2D0000|ADVAPI32.DLL  |Advanced Windows 32 Base API                                         |5.0.2195.6710  |387344  |2003-07-01 11:47:40|C:\WINNT\system32                       |
|7C340000|SECUR32.DLL   |Security Support Provider Interface                                  |5.0.2195.6695  |48912   |2003-07-01 11:47:40|C:\WINNT\system32                       |
|7C4E0000|KERNEL32.DLL  |Windows NT BASE API Client DLL                                       |5.0.2195.6688  |743184  |2003-07-01 11:47:40|C:\WINNT\system32                       |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Registers:
----------

หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: doramon ที่ กันยายน 06, 2007, 18:40:39 PM
ช่วยทดสอบใน windowsXP ด้วยครับ

ผมเห็นเหมือนหมอจะใช้ windows2000
หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: anukul ที่ กันยายน 06, 2007, 23:44:26 PM
กลับมาลองเครื่องที่บ้าน  Windows XP   +  HOSxP 50.9.4

ไม่มี error ขึ้นอีก  แต่ยังไม่ได้ลอง Windows XP   +  HOSxP 50.4.10

สงสัยว่า ทำอะไรผิดไป ถึงเรียกใช้กับ Windows2000 แล้ว error

 ???  ???
หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: SrWooD ที่ กันยายน 06, 2007, 23:58:36 PM
ผมลองแล้วครับ

windows xp ใช้ได้ครับ

ผมเลยขออนุญาตดูดไปใช้บ้างครับ

ขอบคุณครับ

แต่ตรงผล lab คงต้องปรับเล็กน้อย เพื่อให้ลำดับเรียงออกมาถูกต้องครับ

สังเกตุจากวันที่รับยา กับ วันที่รายงานผลแลบสุดท้ายไม่ตรงกันครับ
หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: anukul ที่ กันยายน 07, 2007, 18:32:51 PM
วันนี้ลอง ใช้ report นี้ กับ Windows XP + HOSxP 3.50.4.10  ก็มี error เหมือนกัน สังเกตุดูว่า ถ้าเรียก report นี้มา แล้วทำงานกับ HOSxP ต่อ ก็ไม่มีปัญหา  แต่ถ้าไปเรียก โปรแกรมอื่น เช่น IE , DeskTop จะแสดงหน้าต่าง error มากวนทันที  ถ้าเรากลับไปใช้งาน HOSxP ต่อ ก็ใช้งานได้ครับ  เพียงแต่ว่ามัน switch ไปงานอื่นแล้วเกิด error


คุณ srwood  ครับ  พอดี วันที่รับยา ผมดึงมาจาก vstdate ครับ  แต่ผล LAB นั้น ดึงมาทีละตัว โดยให้เรียงผลจากวันล่าสุดที่มีการทำ lab นั้น  3 ครั้งล่าสุด  ทำให้ผล Lab ใน ตาราง แถวเดียวกัน แต่เป็นผลของคนละวัน จึงต้องระบุวันที่ทำ lab ข้างหลัง ครับ  (จริงๆ อยากให้ ผล lab ในตาราง เรียงตาม วันที่เดียวกัน จะได้ดูง่าย แต่ฝีมือยังเพิ่งหัดครับ)
 :D :D
หัวข้อ: Re: รายงาน Custom เขียนเองแล้วมี error ช่วยแก้หน่อยครับ
เริ่มหัวข้อโดย: SrWooD ที่ กันยายน 07, 2007, 23:50:48 PM
คุณหมอครับ

ผมไม่ได้ติดใจที่การดึงข้อมูลจาก table ไหนครับ

แต่ติดใจที่วันที่รับยาครั้งล่าสุิด ก็รับยา DM

เดาว่าน่าจะเจาะ Glucose ด้วย แต่ผล Glucose ในวันรับยาไม่ show ครับ

น่าจะเกิดจากการกำหนด Limit ครับ

เพราะพอดีหลังจากผมลองปรับแล้ว

ผู้ป่วยมารับยา Dm เจาะ Glucose ด้วย

ก็ขึ้นวันรับยากับวันเจาะ glucose ล่าสุดเป็นวันเดียวกันครับ

ลองตรวจสอบดูอีกครั้งก็ได้ครับ