This is the code I have in Module1 which runs when the db is opened I would like to insert a column at the end of the Prosaim 852 Table before the table is opened. I also would like to name the new column Proto Number.
Here is the Code
Function AutoExec()
DoCmd.SetWarnings False
DoCmd.OpenQuery "proto mat", , acReadOnly
DoCmd.OpenQuery "Prosaim852 Query", , acReadOnly
DoCmd.OpenTable "Prosaim 852 Table", , acReadOnly
End Function
Here is the Code
Function AutoExec()
DoCmd.SetWarnings False
DoCmd.OpenQuery "proto mat", , acReadOnly
DoCmd.OpenQuery "Prosaim852 Query", , acReadOnly
DoCmd.OpenTable "Prosaim 852 Table", , acReadOnly
End Function