BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: Kab_Moo ที่ กรกฎาคม 04, 2012, 10:14:17 AM
-
รบกวนด้วยครับ ทำการบันทึกข้อมูล ในบัญชี 5 บันทึก น้ำหนัก ส่วนสูง แล้วขึ้น debug from
System Message
SQL Error: Duplicate entry '502' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '504' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '506' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '508' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '510' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '512' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '514' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '516' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '518' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '520' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
แต่ข้อมูลยังมีการบันทึกไม่ทราบว่าจะมีผล อะไรไหมครับ
-
ลอง Update ค่าที่ตาราง Serial
เมื่อ select * from serial where name like "%village_student_screen_id%" ครับ
นำค่า max มาจากตาราง select max( village_student_screen_id) from student_regulation_check มาใส่แทนที่ครับ
-
อาจารย์เกื้อ ครับ
ค่า max เท่ากันเลยครับ เป็นค่าเดียวกันครับ เลยไม่รู้จะอัพเดท ยังไงครับ จะเป็นเฉพาะตอนบันทึก น้ำหนักส่วนสูงนะครับ เลยไม่รู้ว่าจะไปตรวจสอบดูตรงไหนครับ
-
รบกวนด้วยครับ ทำการบันทึกข้อมูล ในบัญชี 5 บันทึก น้ำหนัก ส่วนสูง แล้วขึ้น debug from
System Message
SQL Error: Duplicate entry '502' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '504' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '506' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '508' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '510' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '512' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '514' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '516' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '518' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
SQL Error: Duplicate entry '520' for key 'PRIMARY'
select * from student_regulation_check where village_student_screen_id = 346
แต่ข้อมูลยังมีการบันทึกไม่ทราบว่าจะมีผล อะไรไหมครับ
แก้ไขให้แล้วครับใน 3.55.7.5b
-
ขอลิงค์โหลดไปทดสอบ...หน่อยครับ
-
ใช้แฟ้มเดิม download_hosxp.cmd ได้เลยครับ ตอนนี้เป็น 3.55.7.5b แล้ว