R
Rick
I have an Access 2000 DAO application where I need to change the
..DefaultValue of a field in a linked table.
The following code returns a runtime error '3057' saying this operation is
not supported on linked tables.
Is there another way? Thanks.
Dim dbsBIO As DAO.Database
Dim tdfClients As DAO.TableDef
Set dbsBIO = Application.CurrentDb
Set tdfClients = dbsBIO.TableDefs!tblClients
With tdfClients.Fields!OtherChildren
.DefaultValue = 0
End With
..DefaultValue of a field in a linked table.
The following code returns a runtime error '3057' saying this operation is
not supported on linked tables.
Is there another way? Thanks.
Dim dbsBIO As DAO.Database
Dim tdfClients As DAO.TableDef
Set dbsBIO = Application.CurrentDb
Set tdfClients = dbsBIO.TableDefs!tblClients
With tdfClients.Fields!OtherChildren
.DefaultValue = 0
End With