News, links, downloads, tips and tricks on Microsoft Access and related

About Me Search
Name:Alex Dybenko

Location:Moscow, Russia

Wednesday, November 17, 2004

[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


Post a Comment

<< Home