2014年11月2日

摘要: 1、在服务器端主窗体上显示服务器的执行情况,主窗体默认单元文件是Unit1.pas 2、一个TMEMO到窗体上, 3、在数据模块单元,ServerMethod1上放一个SQLMonitonr控件,ServerMethod1.pas的uses 里加上unit1,因为要访问MEMO。 日志可以输出到文本,也可以通过MEMO控件显示出来。 输出到文本: 设置SQLMonitonr控... 阅读全文
posted @ 2014-11-02 12:05 博雅他爸 阅读(425) 评论(0) 推荐(0)
摘要: 在设置客服端clientdataSet的commandtext时,提示‘commandtext changes are not allowed’。 解决办法: 在服务器的数据模块的DataSetProvider的Options里选择:psAllowCommandText为true,就OK. 阅读全文
posted @ 2014-11-02 11:31 博雅他爸 阅读(476) 评论(0) 推荐(0)
摘要: 服务器端:1、创建DATASANP 服务器。2、添加,Sqlconnettion,clientdataSet,DataSetProvider.设置好参数。3、在ServerMethodsUnit1 中创建function recordCount(Sql:string):integer;functio... 阅读全文
posted @ 2014-11-02 10:48 博雅他爸 阅读(294) 评论(0) 推荐(0)

导航