WillemdeNie
Programmer
I have created a table using this code in the front-end:
On Error GoTo Err_ConversieTabellen
Dim conDatabase As ADODB.Connection
Dim sDBName As String
Set conDatabase = New ADODB.Connection
conDatabase.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Niebotel\NiebotelHaven.mdb;User Id=Bestuur;Password=XXXXXX;Jet OLEDB:System Database=C:\Program Files\Niebotel\SystemNiebotel.mdw;"
Database.Open
conDatabase.Execute "CREATE TABLE Gemeente(" & _
"Test INTEGER NOT NULL," & _
"FirstName Currency default 0)"
conDatabase.Close
The table is created (in the back-end)on moment of execution; so this OK
Now I would like to link the table.
How to do???
Help will be appriciated!
Willem
On Error GoTo Err_ConversieTabellen
Dim conDatabase As ADODB.Connection
Dim sDBName As String
Set conDatabase = New ADODB.Connection
conDatabase.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Niebotel\NiebotelHaven.mdb;User Id=Bestuur;Password=XXXXXX;Jet OLEDB:System Database=C:\Program Files\Niebotel\SystemNiebotel.mdw;"
Database.Open
conDatabase.Execute "CREATE TABLE Gemeente(" & _
"Test INTEGER NOT NULL," & _
"FirstName Currency default 0)"
conDatabase.Close
The table is created (in the back-end)on moment of execution; so this OK
Now I would like to link the table.
How to do???
Help will be appriciated!
Willem