2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2005-01-29 17:18:51 +00:00
|
|
|
<!-- $Revision: 1.5 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<refentry id="function.dbase-open">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>dbase_open</refname>
|
|
|
|
<refpurpose>Opens a dBase database</refpurpose>
|
|
|
|
</refnamediv>
|
2005-01-29 17:18:51 +00:00
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2002-04-15 00:12:54 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>int</type><methodname>dbase_open</methodname>
|
|
|
|
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
2005-01-29 17:18:51 +00:00
|
|
|
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
2002-04-15 00:12:54 +00:00
|
|
|
</methodsynopsis>
|
2005-01-29 17:18:51 +00:00
|
|
|
<para>
|
|
|
|
<function>dbase_open</function> opens a dBase database with the given
|
|
|
|
access mode.
|
|
|
|
</para>
|
|
|
|
¬e.sm.uidcheck;
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>filename</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The name of the database. It can be a relative or absolute path to
|
|
|
|
the file where dBase will store your data.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>mode</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
An integer which correspond to those for the <command>open()</command>
|
|
|
|
system call (Typically 0 means read-only, 1 means write-only, and 2 means
|
|
|
|
read and write).
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
2002-04-15 00:12:54 +00:00
|
|
|
<para>
|
2005-01-29 17:18:51 +00:00
|
|
|
Returns a database link identifier if the database is successfully opened,
|
|
|
|
or &false; if an error occured.
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
2005-01-29 17:18:51 +00:00
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
2003-02-11 02:50:48 +00:00
|
|
|
<para>
|
2005-01-29 17:18:51 +00:00
|
|
|
<simplelist>
|
|
|
|
<member><function>dbase_create</function></member>
|
|
|
|
<member><function>dbase_close</function></member>
|
|
|
|
</simplelist>
|
2003-02-11 02:50:48 +00:00
|
|
|
</para>
|
2002-04-15 00:12:54 +00:00
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|