| 发表于:2007-04-17 23:04:392楼 得分:0 |
private sub comdtj_click() '添加用户 dim bh as long rs1.open "select * from 销售员信息管理表 order by 销售员编号 ", cnn, adopenkeyset, adlockoptimistic if rs1.recordcount > 0 then if rs1.eof = false then rs1.movelast bh = val(rs1.fields( "销售员编号 ")) + 1 xsybh.text = format(bh, "00 ") else xsybh.text = "01 " end if yhm.setfocus rs1.close end sub 这是全部 | | |
|