以下是引用jiguanqiang8在2013-6-6 11:34:10的发言:
代码真是自己写的,就是SPT调用ACCESS数据的时候用了一点别人的代码;
riqi=TTOD(thisform.t1._Value)
“thisform”不能在表单外的过程中使用。代码真是自己写的,就是SPT调用ACCESS数据的时候用了一点别人的代码;
riqi=TTOD(thisform.t1._Value)
把“thisform” 换成表单的真实名字试试。 如果表单名不确定,可以用宏代换。

相互学习,互相交流,共同提高。