ผู้เขียน หัวข้อ: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1  (อ่าน 6414 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ อู๋kokha50

  • Hero Member
  • *****
  • กระทู้: 1,169
  • อยากได้ความรู้Hosxpต้องลงมือเรียนรู้
  • Respect: 0
    • ดูรายละเอียด
 หลังอัฟเวอร์ชั่น 3.51.10.1 ฟอร์มก็ใช้ไม่ได้ PCU-Person-Search-1.cds
ท่านใดมีแก้ไขErrorแล้ว   ที่สามารถเลือกหมู่บ้าน อายุ และ เพศ ได้
ผมจะขอแบ่งปันด้วยครับ

« แก้ไขครั้งสุดท้าย: ตุลาคม 05, 2008, 19:31:29 PM โดย kokha50 »
โรงพยาบาลเกาะคา จังหวัดลำปาง โทร 054281393 ต่อ 128 Server : HP Proliant ML150 G3 Xeon 2.0 Ram 16 G  HDDSATA 160 G 2 ตัว CentOS 5.2 Linux MySQL 5.1.30-4percona
HosXp Version 3.55.5.8b
Client : winXP,  Version 3.55.5.8b
 ขึ้นระบบ 1 พ.ค.50

ออฟไลน์ nuttavut

  • Hero Member
  • *****
  • กระทู้: 2,634
  • Boom-Beam
  • Respect: +15
    • ดูรายละเอียด
    • โรงพยาบาลวิเชียรบุรี
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #1 เมื่อ: ตุลาคม 05, 2008, 19:55:46 PM »
0
ท่านขอมา...เราจัดให้... ;D ;D
..Wichianburi Hospital  Phetchabun ..
Mr.Nuttavut   System Admin,Programer
Master:: HP DL380 G7 RAM 24GB Raid5 CentOS5.2  Percona 5.1.45
Slave::HP ProLiant ML150G3 Xeon Raid1  CentOS5.2   ,Percona 5.1.45
HOSxP 3.55.7.14, LIS (iLab),PACS
Tel. 0-5692-8169 ต่อ 180  | รพ. ขนาด 150+ เตียง |17 สอ. HOSxP_PCU |BMS Datacenter 18 node |
WWW : http://wichianhos.thaieasydns.com
|..ดูแลห่วงใย ใส่ใจบริการ รักษาได้มาตรฐาน พัฒนางานสู่ความเป็นเลิศ ..|   PDS Project  |  การนำเข้า Script คลิก

ออฟไลน์ อู๋kokha50

  • Hero Member
  • *****
  • กระทู้: 1,169
  • อยากได้ความรู้Hosxpต้องลงมือเรียนรู้
  • Respect: 0
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #2 เมื่อ: ตุลาคม 05, 2008, 21:15:32 PM »
0
 ;)โอ้ พระเจ้าจ๊อด มันยอดมาก   :o :o
 ;D ;Dรวดเร็ว ทันใจ ไวดุจ กามนิตหนุ่ม ;D ;D
แต่ว่า Error ครับท่าน อ.วุฒิ
« แก้ไขครั้งสุดท้าย: ตุลาคม 05, 2008, 21:21:36 PM โดย kokha50 »
โรงพยาบาลเกาะคา จังหวัดลำปาง โทร 054281393 ต่อ 128 Server : HP Proliant ML150 G3 Xeon 2.0 Ram 16 G  HDDSATA 160 G 2 ตัว CentOS 5.2 Linux MySQL 5.1.30-4percona
HosXp Version 3.55.5.8b
Client : winXP,  Version 3.55.5.8b
 ขึ้นระบบ 1 พ.ค.50

ออฟไลน์ nuttavut

  • Hero Member
  • *****
  • กระทู้: 2,634
  • Boom-Beam
  • Respect: +15
    • ดูรายละเอียด
    • โรงพยาบาลวิเชียรบุรี
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #3 เมื่อ: ตุลาคม 05, 2008, 22:53:04 PM »
0
งั้นเอาใหม่นะท่าน..... ;D
..Wichianburi Hospital  Phetchabun ..
Mr.Nuttavut   System Admin,Programer
Master:: HP DL380 G7 RAM 24GB Raid5 CentOS5.2  Percona 5.1.45
Slave::HP ProLiant ML150G3 Xeon Raid1  CentOS5.2   ,Percona 5.1.45
HOSxP 3.55.7.14, LIS (iLab),PACS
Tel. 0-5692-8169 ต่อ 180  | รพ. ขนาด 150+ เตียง |17 สอ. HOSxP_PCU |BMS Datacenter 18 node |
WWW : http://wichianhos.thaieasydns.com
|..ดูแลห่วงใย ใส่ใจบริการ รักษาได้มาตรฐาน พัฒนางานสู่ความเป็นเลิศ ..|   PDS Project  |  การนำเข้า Script คลิก

ออฟไลน์ อู๋kokha50

  • Hero Member
  • *****
  • กระทู้: 1,169
  • อยากได้ความรู้Hosxpต้องลงมือเรียนรู้
  • Respect: 0
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #4 เมื่อ: ตุลาคม 06, 2008, 06:33:34 AM »
0
ยังมี Error เหมือนเดิม ครับ อ.วุฒิ



Application:
------------------------------------------------------
  1.1 Start Date      : Mon, 6 Oct 2008 06:54:35 +0700
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 3.51.10.1
  1.4 Parameters      :
  1.5 Compilation Date: Wed, 1 Oct 2008 13:14:22 +0700
  1.6 Up Time         : 1 minute, 23 seconds

Exception:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2.1 Date          : Mon, 6 Oct 2008 06:55:59 +0700
  2.2 Address       : 00FF0B11
  2.3 Module Name   : HOSMy.exe
  2.4 Module Version: 3.51.10.1
  2.5 Type          : EZSQLException
  2.6 Message       : SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '52,1053,1054,1056,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,10' at line 17.
  2.7 ID            : 314E
  2.8 Count         : 1
  2.9 Status        : New
  2.10 Note         :

User:
-------------------------------------------------------
  3.1 ID        : com
  3.2 Name      : com
  3.3 Email     :
  3.4 Company   :
  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   : TMainForm
  4.2 Form Text    : Account1MainForm - :: HOSxP :: 5.0.45-community-nt  Database hos @ 127.0.0.1 [3.51.10.1]
  4.3 Control Class: TcxButton
  4.4 Control Text : พิมพ์รายชื่อ

Computer:
----------------------------------------------------------------------------------------
  5.1 Name          : PLAN
  5.2 Total Memory  : 503 Mb
  5.3 Free Memory   : 20 Mb
  5.4 Total Disk    : 39.06 Gb
  5.5 Free Disk     : 24.61 Gb
  5.6 System Up Time: 8 minutes, 45 seconds
  5.7 Processor     : Intel(R) Core(TM)2 Duo CPU     T7100  @ 1.80GHz
  5.8 Display Mode  : 1280 x 800, 32 bit
  5.9 Display DPI   : 96
  5.10 Video Card   : Mobile Intel(R) 965 Express Chipset Family (driver 6.14.10.4873)
  5.11 Printer      : Microsoft Office Document Image Writer Driver (driver 11.3.2175.0)

Operating System:
------------------------------------
  6.1 Type    : Microsoft Windows XP
  6.2 Build # : 2600
  6.3 Update  : Service Pack 2
  6.4 Language: Thai
  6.5 Charset : 222

Network:
---------------------------------------------------
  7.1 IP Address: 192.168.001.004 - 000.000.000.000
  7.2 Submask   : 255.255.255.000 - 000.000.000.000
  7.3 Gateway   : 192.168.001.001 - 000.000.000.000
  7.4 DNS 1     : 192.168.001.001 - 192.168.000.001
  7.5 DNS 2     : 000.000.000.000 - 000.000.000.000
  7.6 DHCP      : ON              - OFF           

Custom Information:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  8.1 Hospital Code            : 11147 [โรงพยาบาล เกาะคา]
  8.2 Database Type            : MySQL
  8.3 Database Protocol        : mysql-4.1 [5.0.45-community-nt
                                  Database hos @ 127.0.0.1]
  8.4                          :
  8.5 No 1                     : select h.village_id,h.address,p.* ,pc.name as pttype_name,x.name as sex_name  ,n.name as nationality_name,  concat(p2.fname,' ',p2.lname) as father_name ,  concat(p3.fname,' ',p3.lname) as mother_name ,  concat(p4.fname,' ',p4.lname) as couple_name ,  e.name as education_name ,o.name as occupation_name,r.name as religion_name ,  y.name as marrystatus_name ,t.house_regist_type_name , f.family_no  , pp.person_house_position_name  from person  p 
                                 left outer join house h on h.house_id = p.house_id 
                                 left outer join pttype pc on pc.pttype = p.pttype 
                                 left outer join sex x on x.code = p.sex  left outer join nationality n on n.nationality = p.nationality 
                                 left outer join education e on e.education = p.education  left outer join occupation o on o.occupation = p.occupation 
                                 left outer join religion r on r.religion = p.religion  left outer join marrystatus y on y.code = p.marrystatus 
                                 left outer join person p2 on p2.person_id = p.father_person_id 
                                 left outer join person p3 on p3.person_id = p.mother_person_id 
                                 left outer join person p4 on p4.person_id = p.couple_person_id 
                                 left outer join person_house_position pp on pp.person_house_position_id = p.person_house_position_id 
                                 left outer join family f on f.family_id = p.family_id 
                                 left outer join house_regist_type t on t.house_regist_type_id = p.house_regist_type_id 
                                 where 
                                 p.person_id  in (1,3,4,5,7,8,9,11,12,13,14,15,16,17,18,19,20,21,29,30,31,33,34,35,36,37,38,39,43,45,46,47,52,53,54,55,56,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,88,89,92,95,96,99,100,101,102,103,104,105,107,108,109,110,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,133,134,135,136,137,138,139,142,143,144,145,146,147,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,169,170,171,177,178,179,180,181,182,183,184,185,186,187,188,190,192,193,194,196,197,199,201,202,203,204,205,206,207,208,209,211,214,215,216,217,220,221,222,223,224,225,226,228,229,230,231,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,331,332,333,334,339,340,341,342,343,344,346,347,348,349,351,352,353,354,355,356,357,358,359,360,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,380,381,382,383,384,385,386,390,391,392,394,395,396,397,398,399,400,401
                                 ,402,403,404,405,408,410,414,417,418,419,421,422,424,425,426,427,428,429,432,433,434,435,436,438,439,440,441,442,443,444,445,446,447,448,449,450,451,454,455,456,458,459,460,461,462,463,464,465,466,467,468,472,473,474,475,478,483,488,489,490,493,501,503,504,505,506,507,508,509,511,512,513,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,542,544,545,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,609,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,645,646,647,648,649,650,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,678,679,681,682,683,684,685,686,687,689,691,692,697,698,699,700,701,702,703,704,705,706,708,709,710,711,712,714,715,716,718,719,720,721,722,723,724,725
                                 ,726,727,728,729,731,732,733,734,735,736,737,738,739,742,743,744,747,748,749,750,751,753,754,755,756,757,758,759,760,761,763,764,765,766,768,769,770,771,772,774,775,776,778,779,780,781,782,783,784,785,786,787,788,789,792,793,794,795,796,798,799,800,801,802,803,804,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,824,825,827,829,830,831,832,833,834,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,878,880,881,882,884,885,886,887,888,889,890,891,892,893,895,896,897,898,899,900,901,902,905,906,909,910,911,912,917,918,919,920,921,922,923,924,925,933,934,936,940,942,943,944,945,946,948,951,952,953,954,955,956,957,958,959,960,962,963,964,965,968,969,970,971,972,974,975,976,977,978,980,981,982,983,985,986,987,988,989,990,993,994,995,996,997,998,1000,1001,1002,1006,1007,1012,1014,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1035,1036,1041,1042,1043,1044,1046,1047,1049,1051,10
                                 52,1053,1054,1056,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1075,1076,1077,1078,1079,1080,1081,1584,1585,1586,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2068,2069,2070,2071,2072,2073,2074,2075,2076,2077,2078,2079,2080,2081,2082,2083,2084,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,2100,2101,2102,2103,2105,2107,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118,2120,2124,2125,2127,2129,2131,2133,2136,2139,2140,2141,2143,2144,2145,2146,2147,2148,2150,2151,2152,2153,2154,2156,2157,2159,2160,2161,2162,2163,2164,2165,2166,2168,2169,2170,2172,2173,2174,2175,2176,2177,2178,2179,2180,2181,2182,2183,2184,2185,2186,2187,2188,2189,2190,2191,2192,2193,2195,2196,2198,2199,2201,2202,2203,2205,2206,2207,2208,2209,2210,2211,2212,2213,2214,2215,2216,2220,2221,2223,2224,2226,2227,2228,2229,2230,2232,2234,2235,2236,2237,2244,2245,2246,2247,2248,2252,2253,2254,2255,2258,2259,2260,2261,2262,2263,2264,2265,2269,2270,2272,2273,2275,2276,2277,2278,2279,2280,2
                                 281,2282,2283,2284,2285,2286,2287,2288,2289,2290,2292,2293,2294,2363,2364,2365,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2383,2384,2385,2386,2387,2388,2389,2390,2391,2392,2393,2394,2395,2396,2397,2398,2399,2400,2401,2402,2403,2404,2405,2406,2407,2408,2409,2410,2411,2412,2413,2414,2415,2416,2417,2418,2419,2420,2423,2424,2425,2426,2427,2428,2431,2432,2433,2434,2436,2437,2438,2439,2440,2441,2442,2443,2445,2446,2447,2448,2449,2450,2451,2452,2453,2454,2455,2456,2457,2458,2461,2462,2463,2464,2465,2466,2467,2469,2470,2471,2472,2473,2474,2475,2476,2477,2479,2480,2481,2482,2483,2485,2486,2487,2488,2489,2491,2494,2495,2496,2497,2499,2500,2501,2502,2503,2504,2505,2506,2507,2508,2509,2510,2511,2512,2513,2514,2515,2516,2517,2519,2520,2521,2522,2523,2524,2525,2526,2527,2528,2529,2533,2535,2536,2537,2538,2543,2544,2545,2546,2553,2554,2555,2556,2557,2558,2559,2560,2565,2566,2567,2568,2579,2580,2581,2582,2583,2584,2585,2591,2594,2595,2596,2597,2627,2641,2642,2643,2644,2645,2646,2647,2648,2649,2650,
                                 2651,2652,2653,2654,2655,2656,2657,2658,2659,2665,2666,2668,2670,2671,2672,2673,2676,2684,2686,2687,2688,2689,2690,2691,2692,2693,2694,2695,2696,2697,2698,2699,2700,2702,2703,2706,2707,2708,2709,2713,2714,2716,2721,2722,2723,2724,2728,2729,2731,2733,2734,2735,2736,2743,2751,2760,2770,2771,2772,2773,2774,2791,2792,2793,2795,2802,2805,2806,2807,2808,2809,2810,2812,2814,2815,2818,2819,2820,2823,2824,2826,2836,2837,2843,2849,2851,2853,2854,2858,2872,2873,2874,2876,2877,2878,2881,2882,2883,2884,2885,2886,2887,2888,2889,2890,2891,2892,2893,2894,2895,2897,3369,3370,3371,3372,3373,3377,3670,3671,3677,3681,3682,3683,3684,3685,3686,3687,3688,3691,3692,3693,3694,3711,3712,3713,3714,3718,3724,3725,3729,3730,3731,3733,3734,3736,3737,3738,3739,3741,3744,3748,3750,3751,3753,3754,3756,3757,3760,3762,3763,3766,3767,3776,3783,3784,3785,3788,3789,3792,3794,3795,3796,3797,3802,3803,3806,3811,3812,3813,3814,3816,3817,3821,3822,3825,3826,3827,3828,3829,3832,3835,3839,3840,3841,3846,3847,3848,3851,3855,3856,3858,3859,3861,3863,3865
                                 ,3866,3867,3872,3873,3874,3875,3879,3882,3883,3891,3893,3894,3896,3897,3898,3899,3900,3901,3902,3903,3904,3905,3906,3907,3908,3909,3910,3911,3912,3913,3914,3916,3917,3918,3919,3920,3921,3922,3923,3924,3925,3926,3927,3928,3929,3930,3931,3934,3935,3936,3937,3938,3939,3940,3941,3942,3943,3944,3945,3946,3947,3948,3949,3984,3985,3986,3987,3989,3990,3991,3992,3993,3994,3997,3998,3999,4000,4267,4268,4271,4273,4274,4275,4276,4277,4278,4279,4280,4282,4283,4284,4285,4286,4288,4289,4290,4291,4292,4293,4294,4295,4296,4297,4298,4299,4300,4301,4302,4303,4304,4305,4306,4307,4308,4309,4310,4311,4312,4313,4314,4315,4316,4317,4318,4319,4320,4322,4323,4324,4325,4326,4327,4328,4329,4330,4332,4333,4337,4408,4444,4445,4448,4449,4450,4451,4452,4454)
                                 and p.death = 'N'   
                                 order by p.person_id
  8.6 No 2                     : select script_dfm from reporttemplate where name = 'PCU-Person-Search-1'
  8.7 No 3                     : select * from reporttemplate where name='PCU-Person-Search-1'
  8.8 DBMS Variables           :
  8.9                          :
  8.10 auto_increment_increment: 1
                                 auto_increment_offset = 1
                                 automatic_sp_privileges = ON
                                 back_log = 50
                                 basedir = C:\Program Files\HOSxP\MySQL\
                                 binlog_cache_size = 32768
                                 bulk_insert_buffer_size = 8388608
                                 character_set_client = tis620
                                 character_set_connection = tis620
                                 character_set_database = tis620
                                 character_set_filesystem = binary
                                 character_set_results = tis620
                                 character_set_server = tis620
                                 character_set_system = utf8
                                 character_sets_dir = C:\Program Files\HOSxP\MySQL\share\charsets\
                                 collation_connection = tis620_thai_ci
                                 collation_database = tis620_thai_ci
                                 collation_server = tis620_thai_ci
                                 completion_type = 0
                                 concurrent_insert = 1
                                 connect_timeout = 5
                                 datadir = C:\Program Files\HOSxP\MySQL\data\
                                 date_format = %Y-%m-%d
                                 datetime_format = %Y-%m-%d %H:%i:%s
                                 default_week_format = 0
                                 delay_key_write = ON
                                 delayed_insert_limit = 100
                                 delayed_insert_timeout = 300
                                 delayed_queue_size = 1000
                                 div_precision_increment = 4
                                 engine_condition_pushdown = OFF
                                 expire_logs_days = 0
                                 flush = OFF
                                 flush_time = 1800
                                 ft_boolean_syntax = + -><()~*:""&|
                                 ft_max_word_len = 84
                                 ft_min_word_len = 4
                                 ft_query_expansion_limit = 20
                                 ft_stopword_file = (built-in)
                                 group_concat_max_len = 1024
                                 have_archive = YES
                                 have_bdb = NO
                                 have_blackhole_engine = YES
                                 have_compress = YES
                                 have_crypt = NO
                                 have_csv = NO
                                 have_dynamic_loading = YES
                                 have_example_engine = NO
                                 have_federated_engine = YES
                                 have_geometry = YES
                                 have_innodb = YES
                                 have_isam = NO
                                 have_merge_engine = YES
                                 have_ndbcluster = NO
                                 have_openssl = DISABLED
                                 have_ssl = DISABLED
                                 have_query_cache = YES
                                 have_raid = NO
                                 have_rtree_keys = YES
                                 have_symlink = YES
                                 hostname = PLAN
                                 init_connect =
                                 init_file =
                                 init_slave =
                                 innodb_additional_mem_pool_size = 8388608
                                 innodb_autoextend_increment = 8
                                 innodb_buffer_pool_awe_mem_mb = 0
                                 innodb_buffer_pool_size = 67108864
                                 innodb_checksums = ON
                                 innodb_commit_concurrency = 0
                                 innodb_concurrency_tickets = 500
                                 innodb_data_file_path = ibdata1:100M:autoextend
                                 innodb_data_home_dir =
                                 innodb_doublewrite = ON
                                 innodb_fast_shutdown = 1
                                 innodb_file_io_threads = 4
                                 innodb_file_per_table = ON
                                 innodb_flush_log_at_trx_commit = 1
                                 innodb_flush_method =
                                 innodb_force_recovery = 0
                                 innodb_lock_wait_timeout = 50
                                 innodb_locks_unsafe_for_binlog = OFF
                                 innodb_log_arch_dir =
                                 innodb_log_archive = OFF
                                 innodb_log_buffer_size = 4194304
                                 innodb_log_file_size = 16777216
                                 innodb_log_files_in_group = 2
                                 innodb_log_group_home_dir = .\
                                 innodb_max_dirty_pages_pct = 90
                                 innodb_max_purge_lag = 0
                                 innodb_mirrored_log_groups = 1
                                 innodb_open_files = 300
                                 innodb_rollback_on_timeout = OFF
                                 innodb_support_xa = ON
                                 innodb_sync_spin_loops = 20
                                 innodb_table_locks = ON
                                 innodb_thread_concurrency = 8
                                 innodb_thread_sleep_delay = 10000
                                 interactive_timeout = 28800
                                 join_buffer_size = 131072
                                 key_buffer_size = 134217728
                                 key_cache_age_threshold = 300
                                 key_cache_block_size = 1024
                                 key_cache_division_limit = 100
                                 language = C:\Program Files\HOSxP\MySQL\share\english\
                                 large_files_support = ON
                                 large_page_size = 0
                                 large_pages = OFF
                                 lc_time_names = en_US
                                 license = GPL
                                 local_infile = ON
                                 log = OFF
                                 log_bin = OFF
                                 log_bin_trust_function_creators = OFF
                                 log_error = C:\Program Files\HOSxP\MySQL\data\PLAN.err
                                 log_queries_not_using_indexes = OFF
                                 log_slave_updates = OFF
                                 log_slow_queries = OFF
                                 log_warnings = 1
                                 long_query_time = 10
                                 low_priority_updates = OFF
                                 lower_case_file_system = ON
                                 lower_case_table_names = 1
                                 max_allowed_packet = 33553408
                                 max_binlog_cache_size = 4294967295
                                 max_binlog_size = 1073741824
                                 max_connect_errors = 10
                                 max_connections = 1000
                                 max_delayed_threads = 20
                                 max_error_count = 64
                                 max_heap_table_size = 16777216
                                 max_insert_delayed_threads = 20
                                 max_join_size = 4294967295
                                 max_length_for_sort_data = 1024
                                 max_prepared_stmt_count = 16382
                                 max_relay_log_size = 0
                                 max_seeks_for_key = 4294967295
                                 max_sort_length = 1024
                                 max_sp_recursion_depth = 0
                                 max_tmp_tables = 32
                                 max_user_connections = 0
                                 max_write_lock_count = 4294967295
                                 multi_range_count = 256
                                 myisam_data_pointer_size = 6
                                 myisam_max_sort_file_size = 2147483647
                                 myisam_recover_options = OFF
                                 myisam_repair_threads = 1
                                 myisam_sort_buffer_size = 33554432
                                 myisam_stats_method = nulls_unequal
                                 named_pipe = OFF
                                 net_buffer_length = 16384
                                 net_read_timeout = 30
                                 net_retry_count = 10
                                 net_write_timeout = 60
                                 new = OFF
                                 old_passwords = OFF
                                 open_files_limit = 2048
                                 optimizer_prune_level = 1
                                 optimizer_search_depth = 62
                                 pid_file = C:\Program Files\HOSxP\MySQL\data\PLAN.pid
                                 port = 3306
                                 preload_buffer_size = 32768
                                 profiling = OFF
                                 profiling_history_size = 15
                                 protocol_version = 10
                                 query_alloc_block_size = 8192
                                 query_cache_limit = 1048576
                                 query_cache_min_res_unit = 4096
                                 query_cache_size = 0
                                 query_cache_type = ON
                                 query_cache_wlock_invalidate = OFF
                                 query_prealloc_size = 8192
                                 range_alloc_block_size = 2048
                                 read_buffer_size = 1044480
                                 read_only = OFF
                                 read_rnd_buffer_size = 1044480
                                 relay_log_purge = ON
                                 relay_log_space_limit = 0
                                 rpl_recovery_rank = 0
                                 secure_auth = OFF
                                 secure_file_priv =
                                 shared_memory = OFF
                                 shared_memory_base_name = MYSQL
                                 server_id = 0
                                 skip_external_locking = ON
                                 skip_networking = OFF
                                 skip_show_database = OFF
                                 slave_compressed_protocol = OFF
                                 slave_load_tmpdir = C:\WINDOWS\TEMP\
                                 slave_net_timeout = 3600
                                 slave_skip_errors = OFF
                                 slave_transaction_retries = 10
                                 slow_launch_time = 2
                                 sort_buffer_size = 1048568
                                 sql_big_selects = ON
                                 sql_mode =
                                 sql_notes = ON
                                 sql_warnings = OFF
                                 ssl_ca =
                                 ssl_capath =
                                 ssl_cert =
                                 ssl_cipher =
                                 ssl_key =
                                 storage_engine = MyISAM
                                 sync_binlog = 0
                                 sync_frm = ON
                                 system_time_zone = SE Asia Standard Time
                                 table_cache = 256
                                 table_lock_wait_timeout = 50
                                 table_type = MyISAM
                                 thread_cache_size = 0
                                 thread_stack = 196608
                                 time_format = %H:%i:%s
                                 time_zone = SYSTEM
                                 timed_mutexes = OFF
                                 tmp_table_size = 33554432
                                 tmpdir = C:\WINDOWS\TEMP\
                                 transaction_alloc_block_size = 8192
                                 transaction_prealloc_size = 4096
                                 tx_isolation = REPEATABLE-READ
                                 updatable_views_with_limit = YES
                                 version = 5.0.45-community-nt
                                 version_comment = MySQL Community Edition (GPL)
                                 version_compile_machine = ia32
                                 version_compile_os = Win32
โรงพยาบาลเกาะคา จังหวัดลำปาง โทร 054281393 ต่อ 128 Server : HP Proliant ML150 G3 Xeon 2.0 Ram 16 G  HDDSATA 160 G 2 ตัว CentOS 5.2 Linux MySQL 5.1.30-4percona
HosXp Version 3.55.5.8b
Client : winXP,  Version 3.55.5.8b
 ขึ้นระบบ 1 พ.ค.50

ออฟไลน์ อู๋kokha50

  • Hero Member
  • *****
  • กระทู้: 1,169
  • อยากได้ความรู้Hosxpต้องลงมือเรียนรู้
  • Respect: 0
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #5 เมื่อ: ตุลาคม 06, 2008, 06:36:50 AM »
0
 ??? ???
โรงพยาบาลเกาะคา จังหวัดลำปาง โทร 054281393 ต่อ 128 Server : HP Proliant ML150 G3 Xeon 2.0 Ram 16 G  HDDSATA 160 G 2 ตัว CentOS 5.2 Linux MySQL 5.1.30-4percona
HosXp Version 3.55.5.8b
Client : winXP,  Version 3.55.5.8b
 ขึ้นระบบ 1 พ.ค.50

ออฟไลน์ armds

  • Hero Member
  • *****
  • กระทู้: 1,084
  • armds
  • Respect: +10
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #6 เมื่อ: ตุลาคม 06, 2008, 07:56:29 AM »
0
อืมลองดูตัวนี้ดูครับ  สามารถเลือก  เพศ  ได้ด้วยนะครับ
โรงพยาบาลสมเด็จพระยุพราชด่านซ้าย จ.เลย
ขนาด 60 เตียง นวก. คอมพิวเตอร์ ขึ้นระบบ ปี 2548
ขอบคุณ อ.ชัยพร อ.สุชัย อ.เดชา อ.doreamon อ.naj อ.ขวด และอ.ในเว็บ hosxp.net ทุกท่าน

ออฟไลน์ อู๋kokha50

  • Hero Member
  • *****
  • กระทู้: 1,169
  • อยากได้ความรู้Hosxpต้องลงมือเรียนรู้
  • Respect: 0
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #7 เมื่อ: ตุลาคม 06, 2008, 09:06:53 AM »
0
ขอขอบคุณ ท่าน อาร์มมากครับ   ผมแอบเอาของท่านในกระทู้มาใช้เมื่อ 3.51.9.9b ใช้ได้ดีปกติครับ
ตอนนี้ผมอัฟ มาเป็น 3.51.10.1 มันมี Error ครับ

ตอนนี้ก็ยัง Error ครับ  Files ของท่าน อาร์ม กับ ของท่านวุฒิ  เขียน Code ไม่เหมือนกันครับ ผมลงทั้ง 2 ท่าน Error ทั้ง 2 ท่านครับ

ของท่านอาร์มตามรูปที่แนบนี้ครับ
โรงพยาบาลเกาะคา จังหวัดลำปาง โทร 054281393 ต่อ 128 Server : HP Proliant ML150 G3 Xeon 2.0 Ram 16 G  HDDSATA 160 G 2 ตัว CentOS 5.2 Linux MySQL 5.1.30-4percona
HosXp Version 3.55.5.8b
Client : winXP,  Version 3.55.5.8b
 ขึ้นระบบ 1 พ.ค.50

ออฟไลน์ armds

  • Hero Member
  • *****
  • กระทู้: 1,084
  • armds
  • Respect: +10
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #8 เมื่อ: ตุลาคม 06, 2008, 09:24:33 AM »
0
วิธีแ้ก้ปัญหา err sql 
ให้ท่านเลือก  อายุ  0  ถึง  1  แล้วกด  แสดงข้อมูล  (ตามรูป )  แล้วทำการกดปุ่ม  พิมพ์รายชื่อ  ได้เลยครับ  เพราะผมไม่ได้ดึงข้อมูลจาก  parameter  ในค่าที่ให้มา  ผมดึงจาก Script pascal เำพิมเติมอีกทีครับ  ลองดูครับ
« แก้ไขครั้งสุดท้าย: ตุลาคม 06, 2008, 09:27:54 AM โดย armds »
โรงพยาบาลสมเด็จพระยุพราชด่านซ้าย จ.เลย
ขนาด 60 เตียง นวก. คอมพิวเตอร์ ขึ้นระบบ ปี 2548
ขอบคุณ อ.ชัยพร อ.สุชัย อ.เดชา อ.doreamon อ.naj อ.ขวด และอ.ในเว็บ hosxp.net ทุกท่าน

ออฟไลน์ อู๋kokha50

  • Hero Member
  • *****
  • กระทู้: 1,169
  • อยากได้ความรู้Hosxpต้องลงมือเรียนรู้
  • Respect: 0
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #9 เมื่อ: ตุลาคม 06, 2008, 18:33:38 PM »
0
 ;D ;Dได้แล้วครับ ขอบคุณมากครับ ;D ;D
โรงพยาบาลเกาะคา จังหวัดลำปาง โทร 054281393 ต่อ 128 Server : HP Proliant ML150 G3 Xeon 2.0 Ram 16 G  HDDSATA 160 G 2 ตัว CentOS 5.2 Linux MySQL 5.1.30-4percona
HosXp Version 3.55.5.8b
Client : winXP,  Version 3.55.5.8b
 ขึ้นระบบ 1 พ.ค.50

ออฟไลน์ Manit

  • Sr. Member
  • ****
  • กระทู้: 418
  • Respect: 0
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #10 เมื่อ: ตุลาคม 07, 2008, 10:28:25 AM »
0
ผมใช้ของคุณ armds อยู่ครับพบปัญหาดังนี้

เมื่อสั่งค้นหาผู้ที่มีอายุ 35 ปี หมู่ 1 โปรแกรมจะค้นมาได้ 12 คน (รวม ชายและหญิง)

แต่เมื่อสั่งพิมพ์รายชื่อ ปรากฎว่ามีรายชื่อถึง 26 คน (เฉพาะผู้หญิง) ผมลองนำข้อมูลไปตรวจสอบพบว่า

มีรายชื่อผู้ที่อยู่ในหมู่อื่น ปนมาด้วยครับ ขอความกรุณาคุณ armds ตรวจสอบให้ด้วยครับ
ผมเป็น Super user ครับ
------------------------------
งานหลักเภสัชกร
Linux ก็ไม่มีความรู้ Report ก็เขียนไม่เป็น
รพ.ศรีสงคราม จ.นครพนม
เริ่มระบบเมื่อ พ.ย. 2548
SEVER : Dell PowerEdge T410 Intel® Xeon® E5620
HDD 300 GB 10k RPM RAM 2 x 4 GB 1333 MHz
Oracle Linux 5.6 Mysql 5.5.9
Slave :HP ProLiant ML150 G2 Linux CentOS 4.7
RAM 1 Gb HDD 32 GB,Mysql 5.5.9
Cient:WindowsXP
HOSxP Version 3.55.9.12

ออฟไลน์ armds

  • Hero Member
  • *****
  • กระทู้: 1,084
  • armds
  • Respect: +10
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #11 เมื่อ: ตุลาคม 07, 2008, 16:23:44 PM »
0
ผมใช้ของคุณ armds อยู่ครับพบปัญหาดังนี้

เมื่อสั่งค้นหาผู้ที่มีอายุ 35 ปี หมู่ 1 โปรแกรมจะค้นมาได้ 12 คน (รวม ชายและหญิง)

แต่เมื่อสั่งพิมพ์รายชื่อ ปรากฎว่ามีรายชื่อถึง 26 คน (เฉพาะผู้หญิง) ผมลองนำข้อมูลไปตรวจสอบพบว่า

มีรายชื่อผู้ที่อยู่ในหมู่อื่น ปนมาด้วยครับ ขอความกรุณาคุณ armds ตรวจสอบให้ด้วยครับ

ไม่ทราบว่ารหัส  village_id  มีกี่หลักครับ (ใน script ผม ดึงจาก village_id มา 2 หลักครับ) 
และผมไม่ได้ดึงข้อมูลจาก  parameter  ในค่าที่ให้มา  ผมดึงจาก Script pascal เำพิมเติมอีกทีครับ  ลองตรวจสอบคำสั่ง ในรายงานได้ครับ  ถ้าผิดพลาด ตรงไหนก็แก้ไขได้เลยครับ
โรงพยาบาลสมเด็จพระยุพราชด่านซ้าย จ.เลย
ขนาด 60 เตียง นวก. คอมพิวเตอร์ ขึ้นระบบ ปี 2548
ขอบคุณ อ.ชัยพร อ.สุชัย อ.เดชา อ.doreamon อ.naj อ.ขวด และอ.ในเว็บ hosxp.net ทุกท่าน

ออฟไลน์ Manit

  • Sr. Member
  • ****
  • กระทู้: 418
  • Respect: 0
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #12 เมื่อ: ตุลาคม 07, 2008, 20:58:43 PM »
0
รหัส  village_id มี 2 หลักครับ

ส่วนเรื่องคำสั่งในรายงาน ผมไม่มีความรู้เรื่องนี้เลยครับ (admin สมัครเล่น)
ผมเป็น Super user ครับ
------------------------------
งานหลักเภสัชกร
Linux ก็ไม่มีความรู้ Report ก็เขียนไม่เป็น
รพ.ศรีสงคราม จ.นครพนม
เริ่มระบบเมื่อ พ.ย. 2548
SEVER : Dell PowerEdge T410 Intel® Xeon® E5620
HDD 300 GB 10k RPM RAM 2 x 4 GB 1333 MHz
Oracle Linux 5.6 Mysql 5.5.9
Slave :HP ProLiant ML150 G2 Linux CentOS 4.7
RAM 1 Gb HDD 32 GB,Mysql 5.5.9
Cient:WindowsXP
HOSxP Version 3.55.9.12

ออฟไลน์ Manit

  • Sr. Member
  • ****
  • กระทู้: 418
  • Respect: 0
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #13 เมื่อ: ตุลาคม 08, 2008, 11:24:46 AM »
0
ใช้ของคุณ nuttavut ข้อมูลออกมาตรงครับ แต่เลือกเพศไม่ได้
ผมเป็น Super user ครับ
------------------------------
งานหลักเภสัชกร
Linux ก็ไม่มีความรู้ Report ก็เขียนไม่เป็น
รพ.ศรีสงคราม จ.นครพนม
เริ่มระบบเมื่อ พ.ย. 2548
SEVER : Dell PowerEdge T410 Intel® Xeon® E5620
HDD 300 GB 10k RPM RAM 2 x 4 GB 1333 MHz
Oracle Linux 5.6 Mysql 5.5.9
Slave :HP ProLiant ML150 G2 Linux CentOS 4.7
RAM 1 Gb HDD 32 GB,Mysql 5.5.9
Cient:WindowsXP
HOSxP Version 3.55.9.12

ออฟไลน์ armds

  • Hero Member
  • *****
  • กระทู้: 1,084
  • armds
  • Respect: +10
    • ดูรายละเอียด
Re: Errorพิมพ์ชื่อค้นหากลุ่มเป้าหมายบัญชี 1 หลังUp 3.51.10.1
« ตอบกลับ #14 เมื่อ: ตุลาคม 08, 2008, 19:58:21 PM »
0
อืม ผมก็คิดว่าถูกแล้วนะครับ  ลองตรวจสอบอีกนะครับ
ตามรูปที่ผมแนบก็ได้ครับ   ตอนแรก ต้องเลือกหมู่บ้านก่อนนะครับ  ตามด้วย อายุเริ่มต้น ตามด้วย อายุสุดท้าย ตามด้วย เพศ  อะครับ  อ.อ๊อด ตรวจสอบให้ด้วยก็ดีครับ

โค๊ด: Pascal
  1.  
  2.     if preset_value(1)='' then
  3.    begin
  4.      if not inputquery('อายุตั้งแต่ ','อายุตั้งแต่',age1) then exit;
  5.    end else
  6.    begin
  7.      age1:='');
  8.    end;
  9.    
  10.    if preset_value(2)='' then
  11.    begin
  12.      if not inputquery('ถึงอายุ','ถึงอายุ',age2) then exit;
  13.    end else
  14.    begin
  15.      age2:='');
  16.    end;
  17.    //showmessage('อายุ1 = '+age1+' อายุ2 ช'+age2);
  18.    sex_list := getpickuplist('select concat(code,":",name) as name from  sex ');
  19.  
  20.  
  21. fcds2.datarequest('select concat(p.age_y," ปี ",p.age_m," ด.")as agefull,h.village_id,h.address,concat(p.pname," ",p.fname," ",p.lname)as pttname,p.* ,pc.name as pttype_name, '+
  22.    ' x.name as sex_name  ,n.name as nationality_name,  concat(p2.fname," ",p2.lname) as father_name ,  concat(p3.fname," ",p3.lname) as mother_name '+
  23.    ' ,  concat(p4.fname," ",p4.lname) as couple_name ,  e.name as education_name ,o.name as occupation_name,r.name as religion_name , '+
  24.    ' y.name as marrystatus_name ,t.house_regist_type_name , f.family_no  , pp.person_house_position_name  from person  p '+  
  25. ' left outer join house h on h.house_id = p.house_id                                                                    '+  
  26. ' left outer join pttype pc on pc.pttype = p.pttype                                                                      '+  
  27. ' left outer join sex x on x.code = p.sex  left outer join nationality n on n.nationality = p.nationality                '+  
  28. ' left outer join education e on e.education = p.education  left outer join occupation o on o.occupation = p.occupation  '+  
  29. ' left outer join religion r on r.religion = p.religion  left outer join marrystatus y on y.code = p.marrystatus       '+  
  30. ' left outer join person p2 on p2.person_id = p.father_person_id                                                        '+  
  31. ' left outer join person p3 on p3.person_id = p.mother_person_id                                                       '+  
  32. ' left outer join person p4 on p4.person_id = p.couple_person_id                                                      '+  
  33. ' left outer join person_house_position pp on pp.person_house_position_id = p.person_house_position_id                 '+  
  34. ' left outer join family f on f.family_id = p.family_id                                                              '+  
  35. ' left outer join house_regist_type t on t.house_regist_type_id = p.house_regist_type_id                             '+  
  36. ' where  p.age_y between "'+age1+'" and  "'+age2+'" and p.village_id="'+copy(hospcode_list,1,2)+'" and p.sex="'+copy(sex_list,1,1)+'" and p.death = "N"   order by p.person_id ');
โรงพยาบาลสมเด็จพระยุพราชด่านซ้าย จ.เลย
ขนาด 60 เตียง นวก. คอมพิวเตอร์ ขึ้นระบบ ปี 2548
ขอบคุณ อ.ชัยพร อ.สุชัย อ.เดชา อ.doreamon อ.naj อ.ขวด และอ.ในเว็บ hosxp.net ทุกท่าน