[V4RB] How to make own func with params EVLockType, ...

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Nov 16 07:36:44 CST 2005


Hi Dan,

> Also could you help me with this.
> 
> I don't seem to be able to pass parameters for CursorLocation, LockType
> and CursorDirection.
> 
> I can get it to work in a SqlSelect command just passing
> ",EVCursorLocation.kServerSide, EVLockType.kReadWrite,
> EVCursorDirection.kRandom"
> But if i for instance make a method and want to pass parameters for a
> VCursor, I can pass the Database, and The SqlString, but not the
> CursorLocation, LockType and CursorDirection.
> 
> If I for instance add a parameter " InCursorLocation As EVCursorLocation"
> And try passing kServerSide I get "Parameters are not kompatible??
> 
> What should I pass?

You should pass EVCursorLocation.kServerSide -- full form,

This is like enums work in Java. And they will work in this form in RB,
When REAL will add support of them.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list