Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
- Posts: 9
- Joined: Thu 05 Feb 2009 13:23
Hello, i'm trying to set the CursorType property of a TMSQuery using Delphi 7 editor.
I can change the property only on the component using object inspector but i need to do it with delphi sintax.
How can i do?
Thanks in advance
- Devart Team
- Posts: 2885
- Joined: Mon 05 Mar 2007 16:32
To set CursorType you can use the following code:
To use values of CursorType enum you should add the OLEDBAccess unit to the uses clause of your unit.