AwDao.ConvertToAllowZeroLength Method 

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

Home | Software & Source Code Library | About Us | Information Based on Law | Terms of Service
Software List | Product Price List | How to Buy | Order Form | FAQ | Site Map
Copyright (C) 2001-2012 Asterworld. All Rights Reserved.