写在什么事件里!主表的afterpost吗??
解决方案 »
- 将variant类型转换成memory,类似的函数该怎么写呢?大侠们给点提示吧
- 看到一份协议描述字节类型为-HL/LP bytes,不知何意?
- 调用dll中的窗口问题(急)
- 如何动态创建画布,用于播放视频文件
- 请问treeview的ongchange事件中,如何获得change前的节点???
- 请问如何捕捉到系统文件移动、删除、改名等操作?
- 我的win2000server IIS中以前可是好好的,现在为什么不能运行ISAPI的.DLL了?
- 为何我的Adoquery增加记录有时会出现"Grid index out of range"?何解?
- steel1991(※淡月兔影老钢琴※) 请你进来一下,高分哦!
- 放假、放分、前10
- 书上的一段话,不太明白!!
- ======= 关于WindowProc
Database1.StartTransaction;
try
Query1...
query2...
Database1.Commit; {on success, commit the changes};
except
Database1.Rollback; {on failure, undo the changes};
raise; {raise the exception to prevent a call to CommitUpdates!}
end;
CommitUpdates; {on success, clear the cache}
但是我使用DBGRID接的呀!用户是可以点击导航条删除的!
这个事件应该在beforpost中删除!!
要不就是专门定义数据集用来做更新!