Is it possible to modify the structure of an Access encrypted backend? -


I have a partitioning database with the frontend, I use VBA by encrypting backend with a password. While able to add fields to a table in the linked backend.

Is it still possible to add the fields to the table in the backend using VBA in the front without decrypt the backend manually?

Thanks for any answers.

This should be Try these notes: Substituted alardeb () retarded tdf as db dAO.Database slow SDB as tableDef dim as field as '' Encrypted SDB = "Z FLD: \ DOCKS \ Test.enc" '' http://msdn.microsoft.com/en-us/library/office/ff193474.aspx '' Password is case sensitive set db = OpenDatabase (SDB, false, false TDF = db.TableDefs ("table1") 'set FLD = tdf.CreateField ("Newfield", dbText, 20) tdf, "MS Access, PWD = PW")' Options with tabledef 'table is currently closed. Fields.Append FLD option with "DDL ssql =" change tag Add table1 column AnotherNew int "db.Execute ssql, dbFailOnError End Sub Sub ListFields () SDB =" Z: \ DOCS \ Test.enc "set db = OpenDatabase (SDB, false, false," MS Access, Public Works Department = FB ") set TDF = db.TableDefs (" table1 ") for each f tdf.Fields Debug.Print f.Name Next End Sub

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -