With all the sophisticated stuff on this site, I'm embarrased to post this. Here's the code in its simple form:
Dim Con As New ADODB.Connection
Con.Open CurrentProject.Connection
Con.Execute "CREATE TABLE MyTable (MyColumn text(10));"
Con.Close
Set Con = Nothing
DoCmd.OpenTable "MyTable"...
I am attempting to migrate from DAO to ADO. I can create a table and add fields using the Catalog set, but all fields have the "Required" property set to true. A listing of the properties for one of the new fields doesn't show "Required" as a property, so I suppose I need...
We have an obnoxious program on our intranet called PCDOCS. This "Big Brother" type program virtually insists that you open and close all files through its filing system. But it does not block a direct VBA command to open a file such as
WordBasic.fileopen...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.