懒
懒少爷
Unregistered / Unconfirmed
GUEST, unregistred user!
MS SQL的TEXT型字段Comment.
用有返回值的存储过程SPRTCPKREPORT存取数据.
服务器端的OPTIONS没有任何选择.
客户端的FetchOnDemand为TRUE.
用一个DBmome1显示存取它.
下边是提交的BUTTOM的CLICK事件
[blue]
DM.SPRTCPKreport.Edit ;
// TmpS:=DBMemo1.Text;
// DM.SPRTCPKreportComment.Value :=DM.SPRTCPKreportComment.Value +chr(13)+'Remark from '+USERNAME;
DM.SPRTCPKreportComment.Value :='TEST';
DM.SPRTCPKreport.Post;
DM.SPRTCPKREPORT.ApplyUpdates(-1);
[/blue]
这样提交后,马上回去浏览可以见到刚输入的数据.但关闭后重进就没有了.在后台SQL查找不到.
(可以显示数据库已有的数据)
用有返回值的存储过程SPRTCPKREPORT存取数据.
服务器端的OPTIONS没有任何选择.
客户端的FetchOnDemand为TRUE.
用一个DBmome1显示存取它.
下边是提交的BUTTOM的CLICK事件
[blue]
DM.SPRTCPKreport.Edit ;
// TmpS:=DBMemo1.Text;
// DM.SPRTCPKreportComment.Value :=DM.SPRTCPKreportComment.Value +chr(13)+'Remark from '+USERNAME;
DM.SPRTCPKreportComment.Value :='TEST';
DM.SPRTCPKreport.Post;
DM.SPRTCPKREPORT.ApplyUpdates(-1);
[/blue]
这样提交后,马上回去浏览可以见到刚输入的数据.但关闭后重进就没有了.在后台SQL查找不到.
(可以显示数据库已有的数据)