Gets non-system fields of a table.
[Visual Basic]
Public Function GetUnSystemFields( _
ByVal targetFileName As String, _
ByVal targetTableName As String, _
ByVal getAutoNumberField As Boolean _
) As String()
[C#]
public string[] GetUnSystemFields(
string targetFileName,
string targetTableName,
bool getAutoNumberField
);
Parameters
-
targetFileName
- Filename.
-
targetTableName
- Table name.
-
getAutoNumberField
- Value that indicates whether auto-number fields are got.
Return Value
Returns an array of non-system field if successful; otherwise null.
Example
How to get the non-system field name of the table xxxtbl of the database file C:\Data.mdb.
Dim fields As String() = dao.GetUnSystemFields("C:\Data.mdb", "xxxtbl", True)
string[] fields = dao.GetUnSystemFields("C:\\Data.mdb", "xxxtbl", true);
See Also
AwDao Class | Asterworld.Data Namespace