為什麼執行 CDS->->FetchParams(); 時出現, EoleSysError with message 错误的变數类型 ( 积分: 1

  • 主题发起人 主题发起人 ljstar
  • 开始时间 开始时间
L

ljstar

Unregistered / Unconfirmed
GUEST, unregistred user!
為什麼執行 CDS-&gt;-&gt;FetchParams(); 時出現, EoleSysError with message 错误的变數类型 ( 积分: 100 )<br />ClientDataSet1-&gt;Close();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ShowMessage(&quot;?!111&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ClientDataSet1-&gt;FetchParams();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ShowMessage(&quot;!222&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ClientDataSet1-&gt;Params-&gt;ParamByName(&quot;@bhfrom&quot;)-&gt;Value=Csyz-&gt;FieldByName(&quot;BH&quot;)-&gt;AsString;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ClientDataSet1-&gt;Params-&gt;ParamByName(&quot;@bhto&quot;)-&gt;Value=Csyz-&gt;FieldByName(&quot;BH&quot;)-&gt;AsString;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ClientDataSet1-&gt;Params-&gt;ParamByName(&quot;@lb&quot;)-&gt;Value=1;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ClientDataSet1-&gt;Execute();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Csyzs-&gt;ApplyUpdates(-1);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Csyzs-&gt;Refresh();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ShowMessage(&quot;發???家遏ЧΘ!&quot;);
 
后退
顶部