S
Sha S
Hello,
I have this statement:
Set dbs = CurrentDb
Set tbl = dbs.CreateTableDef("usrtmptbl_linkedobjs")
With tbl
.Fields.Append .CreateField("uID", dbLong)
.Fields("uID").Attributes = dbAutoIncrField
.Fields.Append .CreateField("build_date", dbDate)
.Fields("build_date").DefaultValue = "Now()"
.Fields.Append .CreateField("uNAME", dbText)
.Fields.Append .CreateField("Local_Flag", dbInteger)
End With
dbs.TableDefs.Append tbl
In the above table, for field "Local_Flag", the values must be one of (0, 1
or Null ).
I would appreciate if someone could suggest how to include that in the above
code.
Thank You,
sHa.
I have this statement:
Set dbs = CurrentDb
Set tbl = dbs.CreateTableDef("usrtmptbl_linkedobjs")
With tbl
.Fields.Append .CreateField("uID", dbLong)
.Fields("uID").Attributes = dbAutoIncrField
.Fields.Append .CreateField("build_date", dbDate)
.Fields("build_date").DefaultValue = "Now()"
.Fields.Append .CreateField("uNAME", dbText)
.Fields.Append .CreateField("Local_Flag", dbInteger)
End With
dbs.TableDefs.Append tbl
In the above table, for field "Local_Flag", the values must be one of (0, 1
or Null ).
I would appreciate if someone could suggest how to include that in the above
code.
Thank You,
sHa.