鳗鱼家的萌宝 發表於 2020-5-9 21:30:00

易语言数据库edb实用命令记录

<p>&nbsp; &nbsp; 想看全部命令,请百度搜索“<strong>易语言数据库应用手册</strong>”进行查询。</p>
<p>&nbsp; &nbsp; <strong>到首记录 ()</strong>&nbsp; &nbsp; &nbsp;把读取位置跳到第一行</p>
<p>&nbsp; &nbsp; <strong>读()</strong>&nbsp; &nbsp; &nbsp;读所在行的列位置的数据。也就是说,记录停留在哪一行,就读哪一行的数据,括号里填列的项。</p>
<p>&nbsp; &nbsp;&nbsp;<strong>取记录号 ()&nbsp;</strong> &nbsp; 取当下的读写位置所在的行数。</p>
<p>&nbsp; &nbsp; <strong>查找()</strong>通常不单独使用,一般配合下面的命令来锁定某个元素所在的位置,进行读写或者其他操作。</p>
<p> &nbsp; &nbsp; <strong>判断循环首 (查找 (读 (2) = xxx))</strong><br>
<strong>&nbsp; &nbsp; &nbsp; &nbsp; 要执行的命令</strong><br>
<strong>&nbsp; &nbsp; &nbsp; &nbsp; 跳过 ()</strong><br>
<strong>&nbsp; &nbsp; 判断循环尾 ()</strong>
</p>
<p style="white-space: nowrap">
        <br>
</p>
<p style="white-space: nowrap">
        &nbsp; &nbsp; &nbsp;<strong>加记录 (,,,,)</strong><strong>&nbsp;</strong>&nbsp; &nbsp; 这个命令就是给数据库加记录,加的位置还是当下读写位置,后面的参数是列项从一开始,以此类推。
</p>
<p style="white-space: nowrap">
        &nbsp; &nbsp; &nbsp;<strong>修改 (</strong><strong>,,,,</strong><strong>)</strong>&nbsp; &nbsp; &nbsp; &nbsp;原理同上,是修改数据库的命令
</p>
<p style="white-space: nowrap">
        &nbsp; &nbsp; &nbsp;修改命令通常配合&nbsp; 查找()命令,来锁定要修改的位置,然后进行修改,修改直接替换,如果原来位置是空,就填入。
</p>
<p style="white-space: nowrap">
        <br>
</p>
<p style="white-space: nowrap">
        &nbsp; &nbsp; <strong>清空()</strong>&nbsp; &nbsp;这个命令就是清空整个数据库
</p>
<p style="white-space: nowrap">
        &nbsp; &nbsp; <strong>删除()</strong>&nbsp; &nbsp; 这个命令不是真的删除,而是在要删除的位置标记一个删除标记
</p>
<p style="white-space: nowrap">
        &nbsp; &nbsp; <strong>彻底删除(</strong><strong>)</strong>&nbsp; &nbsp; 这个命令就是真的删除被标记删除标记的位置的内容。
</p>
<p>
        &nbsp; &nbsp; 本文转载自:http://www.zhizhuowz.com/post-343.html
</p><br><br>
来源:https://www.cnblogs.com/hongyuyingxiao/p/12860199.html
頁: [1]
查看完整版本: 易语言数据库edb实用命令记录