[Access] DDE in Access - bug in help
Thanks to Terry Kreft - we found how to workaround a problem in initiating DDE:
Access online help gives a following example:
Dim intChan1 As Integer, intChan2 As Integer
intChan1 = DDEInitiate("MSAccess", "System")
which give overflow error
The trick - is to change declaration from Integer to Long:
Dim intChan1 As Long, intChan2 As Long
Access online help gives a following example:
Dim intChan1 As Integer, intChan2 As Integer
intChan1 = DDEInitiate("MSAccess", "System")
which give overflow error
The trick - is to change declaration from Integer to Long:
Dim intChan1 As Long, intChan2 As Long
0 Comments:
Post a Comment
<< Home