DBGrid.datasourcename:=datasource1
datasource1.dataset:=table1
table1.tablename:='bb'我又用bde 的StoredProc 控件调用了sql server里的一个存储过程,该过程会对表bb进行insert操作!
程序运行正常,我现在想在表bb的insert完成后马上刷新DBGrid表格。
试过用DBGrid.refresh方法但没效果!
试过用table.refresh方法但运行出错,提示:“table does not support this operation because it is not uniquely indexed.”
请各大侠指教!
datasource1.dataset:=table1
table1.tablename:='bb'我又用bde 的StoredProc 控件调用了sql server里的一个存储过程,该过程会对表bb进行insert操作!
程序运行正常,我现在想在表bb的insert完成后马上刷新DBGrid表格。
试过用DBGrid.refresh方法但没效果!
试过用table.refresh方法但运行出错,提示:“table does not support this operation because it is not uniquely indexed.”
请各大侠指教!
解决方案 »
- 让系统延缓1秒,怎么写啊
- delphi7写的类型为wad的webservice,如何在IIS中发布?~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 在DELPHI中如何得到WINDOWS注册表某一节点下的所有数据(在线等待)
- 打开代码的时候提示:读取错误:splitter1.explicitwidth:explicitwidth 不存在......
- 因为工作需要急需。DELPHI的DLL资料,请问那里有相关资源?
- 望各位帮忙...
- 金山毒霸的屏幕保护程序存在着bug!!!!!!
- 交友:if
- installshield 问题
- 小新和狂郎请进来,有个多表查询的问题想问问你们。对多表查询有心得的朋友也请进来看看。
- 如何在DLL中关闭调用的程序??????请近来看。
- 在delphi中如何应用GIF图像!
tmp: string;
begin
tmp:=Table1.BookMark;
Table1.Active:=False;
Table1.Active:=True;
try
Table1.BookMark:=tmp;
except
end;
end;