⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 存取过程使用了暂存的table,当用vb打开的时候会提示对象已经关闭.txt

📁 VB技巧问答10000例 VB技巧问答10000例
💻 TXT
字号:
可以把你的存储过程改为如下格式: 
     create proc usp_calc_sex 
     as 
     create table t_sex( 
     unit char(10) not null, 
     sex char(10) not null, 
     r_number int null) 
     
     create table #t_sex( 
     unit char(10) not null, 
     sex char(10) not null, 
     r_number int null) 
     
     。。。(原来的处理不变) 
     
     insert t_sex selecct * from #t_sex 
     
     select * from t_sex 
     drop table t_sex 
    return 
    利用以上存储过程建立你的DataGrid,待程序调试完成需要发布时,再将存储过程改为你原来的。注意存储过程名及参数、返回值不能变。 
<END>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -