Re: Visual Interdev ADO Conn
The cursolocation can be one of two things, 2 (aka adUseServer) or 3 (aka adUseClient). These are integer values, so you must make sure that whatever value Application(com1_cursorlocation') is integer. My guess is that it is not integer, or might even be empty. Check the value before assigning it, and when an invalid value is given, replace it with a default.
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook