It work perfectly when in MDB when execute from main screen till the screen you are looking for.
However, after migrating to Access 2017 (64 bits) and Windows 2012 Server (64 bits), a lot of problem errors seem like appear. Anyone know why it behave abnormally at the highlighted code in red colour ?
Set cnn = New adodb.Connection
cnnNew.ConnectionString = const_MDB
cnnNew.CommandTimeout = const_ConnectionTimeOut
cnnNew.CursorLocation = adUseClient
If cnnNew.State = adStateClosed Then cnnNew.Open
However, after migrating to Access 2017 (64 bits) and Windows 2012 Server (64 bits), a lot of problem errors seem like appear. Anyone know why it behave abnormally at the highlighted code in red colour ?
Set cnn = New adodb.Connection
cnnNew.ConnectionString = const_MDB
cnnNew.CommandTimeout = const_ConnectionTimeOut
cnnNew.CursorLocation = adUseClient
If cnnNew.State = adStateClosed Then cnnNew.Open