Converts fields of text and memo type of the database to the setting that a string of zero length is allowed.
[Visual Basic]
Public Function ConvertToAllowZeroLength( _
ByVal targetFileName As String _
) As Boolean
[C#]
public bool ConvertToAllowZeroLength(
string targetFileName
);
Parameters
-
targetFileName
- Filename.
Return Value
Returns true if successful; otherwise false.
Remarks
Conversion targets are the text and memo type fields of all tables of a database.
Example
How to convert settings of the database file C:\Data.mdb.
dao.ConvertToAllowZeroLength("C:\Data.mdb")
dao.ConvertToAllowZeroLength("C:\\Data.mdb");
See Also
AwDao Class | Asterworld.Data Namespace