If I Step Into (F8) codes, application won't produce any error in DB connection, but if I execute / run the entire application, it will produce error "ODBC--connection to 'erpServer' failed"
The only different I can think off is there is a break / pause during Step In activity regardless how long time you have stopped. Meanwhile, codes will continue to execute in real environment and resulting the above error.
If my analyst is true, can anyone suggest how to overcome this problem by having a "Break / Pause" in real execution via VBA command ?
fyi, I am using the MS Access 2016, 64 bits. Presently I am using connection string
Alternatively is suggestion to correct my connection string
The only different I can think off is there is a break / pause during Step In activity regardless how long time you have stopped. Meanwhile, codes will continue to execute in real environment and resulting the above error.
If my analyst is true, can anyone suggest how to overcome this problem by having a "Break / Pause" in real execution via VBA command ?
fyi, I am using the MS Access 2016, 64 bits. Presently I am using connection string
Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=XXXXX
Alternatively is suggestion to correct my connection string