ต้องการทำ Time Stamp
กระทู้เก่าบอร์ด อ.Yeadram

 1,188   5
URL.หัวข้อ / URL
ต้องการทำ Time Stamp

1.มี Form ในการบันทึกควบคุม Invoice
2.มี Check Box

อยากให้ วันเวลา ณ ขณะที่เรา กดติ๊ก Check Box เก็บเข้า Table

โปรแกรมใช้พร้อมกันหลายคน

5 Reply in this Topic. Dispaly 1 pages and you are on page number 1

1 @R21918
ที่ Event: On Click ของ Check Box ให้ใส่ Code

    ชื่อText Box ที่ให้ใส่วันเวลา.value = Now()

เช่น
    txtDate.value = Now()

แล้วอย่าลืมไปกำหนด Format ของ Text Box ให้แสดงวัน-เวลาด้วยนะครับ
2 @R21922

ขึ้นแบบนี้ครับ
3 @R21923
Access was unable to locate the macro or VBA function. If you are trying to call a macro, make sure that the name of the macro and the name of the macro group are spelled correctly.
If you are trying to call a user-defined VBA function, be sure to use the following syntax:
=FunctionName() or =FunctionName(argument1,argument2,...)
Make sure that the function is either:
Defined in the code for the form or report.
- or -
A public function that is in a module (not a class module).
4 @R21924
เอาไฟล์ตัวอย่างไปดูครับ
ที่นี่
5 @R21962
ขอบคุณครับพี่
@ ประกาศใช้งานเว็บบอร์ดใหม่ => บอร์ดเรียนรู้ Access สำหรับคนไทย
แล้วจะใส่ลิ้งอ้างอิงมาที่โพสต์เก่านี้หรือไม่ก็ตามสะดวกครับ
Time: 0.2664s