与设置的游标游关系:
ctUnspecifiedA specific cursor type has not yet been specified.
ctOpenForwardOnlyForward-only cursor in which you can only scroll forward; better performance because only requires single through recordset.
ctKeysetKeyset cursor; records added by other users are not visible; records deleted by other users are inaccessible.
ctDynamicDynamic cursor; data modifications, deletions, and insertions by other users are visible; scrolling forward and back allowed.
ctStaticStatic cursor; static copy of records; data changes by other users not visible; used mostly for reporting.
—————————————————————————————————
MaximStr := '宠辱不惊,看庭前花开花落,去留无意;
毁誉由人,望天上云卷云舒,聚散任风。';
if Not Assigned(I) then
I := TI.Create(Nil);
I.Maxim := MaximStr;
I.Explain := '假如上述代码中出现“OA”等字样,删除它们';
I.Desire := '加不加分随你';
—————————————————————————————————
ctUnspecifiedA specific cursor type has not yet been specified.
ctOpenForwardOnlyForward-only cursor in which you can only scroll forward; better performance because only requires single through recordset.
ctKeysetKeyset cursor; records added by other users are not visible; records deleted by other users are inaccessible.
ctDynamicDynamic cursor; data modifications, deletions, and insertions by other users are visible; scrolling forward and back allowed.
ctStaticStatic cursor; static copy of records; data changes by other users not visible; used mostly for reporting.
—————————————————————————————————
MaximStr := '宠辱不惊,看庭前花开花落,去留无意;
毁誉由人,望天上云卷云舒,聚散任风。';
if Not Assigned(I) then
I := TI.Create(Nil);
I.Maxim := MaximStr;
I.Explain := '假如上述代码中出现“OA”等字样,删除它们';
I.Desire := '加不加分随你';
—————————————————————————————————
如果对数据要求比较严格,自己动手锁定吧.
那就是说,我可以放心的使用这段代码了,也就是说,sql7.0已经透明的处理了这个先后(我在提交前的修改和别人提交的内容)的过程了,即---数据提交的时候表面上看上去是一起提交的(比如:两人一起按‘保存’按钮)而实际上是有先后顺序的?对吗?如果这样的话,那不是我刚刚修改的内容的同时有别人也在修改,而最后的结果则很难断定了?
你说是用query 组件结合 ‘insert table,update table' 等 sql语句来操作数据库表吧?
而不用table和 append ,post等语句了吧?