There's a file called ADOVBS.INC that has all the constants defined. On my machine it's located in \Program Files\Common Files\SYSTEM\ADO
>Where can I find the ADO constants file.
>
>I'm trying to use the CursorLocation property. It shows the following constants: adUseClient, adUseServer, adUseNone but when I try
>
>rs.CursorLocation = adUseClient
>
>I get the message, that the setting is out of acceptable ranges.
>
>Dan
"It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much -- the wheel, New York, wars and so on -- whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man -- for precisely the same reasons." - Douglas Adams