Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共5 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:求教!insert into 使用方法

1楼
baoxyang 发表于:2009/4/13 16:10:00

Dim str as string
dim qqq as string
qqq = Format(date.today(),“yyyyMMDD”)
str = “insert into [出入库](单号)Values()” 应怎样写呀?

2楼
狐狸爸爸 发表于:2009/4/13 16:17:00
用AddNew,别用SQL,除非是外部数据源,而且大批量增加。
3楼
baoxyang 发表于:2009/4/13 16:24:00
是外部数据的。
4楼
狐狸爸爸 发表于:2009/4/13 16:27:00

例如:

str = "Insert Into 订单 (编号) Values('" & qqq & "')"

5楼
baoxyang 发表于:2009/4/13 16:29:00
谢谢!功底不够呀,好多东东知道,就是记不住呀。
共5 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .03271 s, 2 queries.