Does someone have a copy of some syntax on how to create a table using VBA? I have three fields I want to write to a new table:
ProductionPOId, ProdQty, ProdDate
This is what I have so far:
Public Sub CreateTableTest()
CREATE TABLE tblProdSched
(ProjectPOId text, ProdQty LONG, ProdDate LONG);
End Sub
Then, how would I add values to this table through code? Say I have the value for ProjectPOId, then strProdQty, strProdDate? Any examples you could offer would be very helpful, I think the last post I put out there was too long and confusing.
ProductionPOId, ProdQty, ProdDate
This is what I have so far:
Public Sub CreateTableTest()
CREATE TABLE tblProdSched
(ProjectPOId text, ProdQty LONG, ProdDate LONG);
End Sub
Then, how would I add values to this table through code? Say I have the value for ProjectPOId, then strProdQty, strProdDate? Any examples you could offer would be very helpful, I think the last post I put out there was too long and confusing.