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
Set CursorType
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.
Code: Select all
MSQuery.CursorType := ctDynamic;