กระทู้เก่าบอร์ด อ.Yeadram
979 1
URL.หัวข้อ /
URL
จัดเรียงข้อมูลเมื่อส่งออก excel
เรียนอาจารย์ทุกท่าน คำสั่ง ด้านล่างนี้ สามารถส่งออกเป็น Excel แล้วให้จัดเรียง ตาม ฟิลด์ id_student ฟิลด์ room และฟิลด์ ordinal ตามลำดับ ได้ไหมครับ ถ้าได้จะแทรกตรงไหนครับ
DoCmd.OutputTo acOutputTable, "student", acFormatXLSX, "D:\student_import.xlsx"
DoCmd.OutputTo acOutputTable, "student", acFormatXLSX, "D:\student_import.xlsx"
1 Reply in this Topic. Dispaly 1 pages and you are on page number 1
1 @R22052
สร้างคิวรี่ให้เรียงตามที่ต้องการ แล้วสั่ง DoCmd.OutputTo acOutputQuery, "ชื่อคิวรี่" , ..... แทนของเดิม
Time: 0.3191s