G
Gary Schuldt
I want to add 4 columns to a table created in a previous step. I have
thought of various ways to do this, and the most elegant seems to be to do
it in the same procedure where I'm already manipulating the table's data.
Does that seem like a good solution?
If so, can I do something at the beginning like:
-------------------
Dim rs As DAO.Recordset
Set rs = CurrentDB.OpenRecordset("PlantData")
ALTER TABLE rs ADD COLUMN L1 TEXT(50)
ALTER TABLE rs ADD COLUMN L2 TEXT(50)
etc.
--------------------
If so, how do I code that SQL statement in VB?
Thanks.
Gary
thought of various ways to do this, and the most elegant seems to be to do
it in the same procedure where I'm already manipulating the table's data.
Does that seem like a good solution?
If so, can I do something at the beginning like:
-------------------
Dim rs As DAO.Recordset
Set rs = CurrentDB.OpenRecordset("PlantData")
ALTER TABLE rs ADD COLUMN L1 TEXT(50)
ALTER TABLE rs ADD COLUMN L2 TEXT(50)
etc.
--------------------
If so, how do I code that SQL statement in VB?
Thanks.
Gary