Can i change the format property of the field in a remote database? Up to now the format property was set to Eur, and i want to have at as currency.I know how to create the field,but i do not know how to change the property
Dim wsp As DAO.Workspace
Dim dbs As DAO.Database
Dim prp As DAO.Property
Dim tdf As DAO.TableDef
Dim fld As DAO.field
Set wsp = DAO.DBEngine.Workspaces(0)
Set dbs = wsp.OpenDatabase(“C:BEstoreBE.mdb”, False, False, “;PWD=” & StrPassword)
Set tdf = dbs.TableDefs(“Products”)
‘ create the field exworks
Set fld = tdf.CreateField(“exworks”, dbCurrency)
tdf.Fields.Append fld
-
Change the format propert (Access 2000)
- This topic has 2 replies, 2 voices, and was last updated 17 years, 10 months ago.
AuthorViewing 0 reply threadsAuthorViewing 0 reply threads