Table created but not visible?

R

rotor

Hello, Okay, I'm new

I ran the following code which creates a simple table, but when it's done, the table is not visible. What else do I need to do to make this table visible

Dim strSQL As Strin

strSQL = "CREATE TABLE TestTable1
strSQL = strSQL & "(TestField1 INTEGER CONSTRAINT pk PRIMARY KEY,
strSQL = strSQL & "TestField2 VARCHAR(5) NULL)

CurrentDb.Execute strSQ

Thanks in advance for the assistance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top