tabsquery_parambyname.htm

来自「Absolute Database 5.12 src. Absolute Da」· HTM 代码 · 共 64 行

HTM
64
字号
<html>
<head>
   <title></title>
</head>

<!--#include virtual="/inc/header.php"-->


<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
  <tr>
    <td align="left">
      
<span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>TABSQuery.ParamByName</b><span style="font-family:Helvetica,Arial; font-size:12pt; color:#0000FF"><b>
<br>
</b></span><span style="font-family:Helv; font-size:9pt; color:#000000"><span style="font-family:Helv; font-size:9pt; color:#7F0000"><a href=tabsquery.htm>TABSQuery</a></span></span><span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>
<br>
</b></span></span>
    </td>
    <td align="right">
     <font face="Arial" size="2">
     
     <a href="overview.htm">Top</a>&nbsp;
     
     </font>
    </td>
  </tr>
</table>
<br><br>



<span style="font-family:Helvetica,Arial; font-size:10pt; color:#000000">Accesses parameter information based on a specified parameter name.
<br>

<br>
<b>function</b> ParamByName(<b>const</b> Value: String): TParam;
<br>

<br>
<b>Description</b>
<br>
Call ParamByName to set or use parameter information for a specific parameter based on its name.
<br>

<br>
Value is the name of the parameter for which to retrieve information.
<br>

<br>
ParamByName is primarily used to set an parameter's value at runtime. For example, the following statement retrieves the current value of a parameter called "Contact" into an edit box:
<br>

<br>
Edit1.Text := Query1.ParamByName('Contact').AsString;
<br>

<br>
Parameters used in SELECT statements cannot be NULL, but they can be NULL for UPDATE and INSERT statements.
<br>
</span>

<!--#include virtual="/inc/footer.php"--> 
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?