以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  自动编号问题  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=20682)

--  作者:ksyh518
--  发布时间:2012/6/15 18:45:00
--  自动编号问题

呵呵

idx = CInt(max.Substring(12,4)) + 1

这句中的12这个数字(工程代码-日期-)

注:1、工程代码4位;2、两个“-”为两个字符;  3、日期又是6位;

 


--  作者:狐狸爸爸
--  发布时间:2012/6/16 9:49:00
--  
设计好表,输入几行数据,然后传上来,其他人才能帮你测试