Are you saying you don't want to *see* your tables in your front end?
Dim db As Database
Dim tb As TableDef
Dim pat As String
pat = fGetLinkPath("table1")
Set db = OpenDatabase(pat)
Set tb = db.TableDefs("Table1")
With tb
.Fields.Append .CreateField("fild2", dbText, 50)
.Fields.Append .CreateField("fild1", dbBoolean)
End With
Set db = Nothing
Set tb = Nothing
Please Help me
WHY do you need to do this? What is the purpose of doing this?
Sorry mr boblarson
The main program will have delivered to customers.
The database tables must be updated.
Ie:
Added Field
Addes Tables
And ...
Customers can receive the new program, but the new changes will also apply.
******************************
My program consists of two parts.
1 - database-related forms
2 - The database tables
The database tables are linked to the main database.
Now I want to create a table using code.
This code should be linked to database tables in order to give the new table is created.
I like the sample code listed above.
In this example;
The new field is added to the link Tables.
![]()