Hi all,
I posted in the VBA section but received no responses.
I have a database with several linked spreadsheets (identical fields) that need to be merged into one master sheet in access. I created the master sheet, and linked everything, created the append queries and a function that gets executed everytime i open the database so as to update the data. Now I am getting numeric field overflows everytime, and i know it can't be my fields because I ran it without a problem the first time.
Thanks for all your help on this problem.
This is my test code with a delete all from master, then followed by two append queries. Note: it all ran perfectly fine the first time around.
VBA Code
Public Function RefreshData()
DoCmd.SetWarnings False
DoCmd.OpenQuery "Delete All Consolidated"
DoCmd.OpenQuery "CTAppendQuery"
DoCmd.OpenQuery "DCAppendQuery"
MsgBox "Done!"
DoCmd.SetWarnings True
End Function
-Vise
I posted in the VBA section but received no responses.
I have a database with several linked spreadsheets (identical fields) that need to be merged into one master sheet in access. I created the master sheet, and linked everything, created the append queries and a function that gets executed everytime i open the database so as to update the data. Now I am getting numeric field overflows everytime, and i know it can't be my fields because I ran it without a problem the first time.
Thanks for all your help on this problem.
This is my test code with a delete all from master, then followed by two append queries. Note: it all ran perfectly fine the first time around.
VBA Code
Public Function RefreshData()
DoCmd.SetWarnings False
DoCmd.OpenQuery "Delete All Consolidated"
DoCmd.OpenQuery "CTAppendQuery"
DoCmd.OpenQuery "DCAppendQuery"
MsgBox "Done!"
DoCmd.SetWarnings True
End Function
-Vise