Android Question Dim Cursor on Globals, its possible share thru subs?

infow

Member
Licensed User
Longtime User
Hi,

I declared a Cursor in globals, and trying to reutilize in the activity and getting:

Error description: Use of undeclared array: CursorName

In a clicksub of a button.

I called the SQL data in another sub...

Its possible share cursor data between the subs without call ExecuteNonQuery all time?

Tried a simple Dim CurName as Cursor on Globals and Process Globals with no luck.

Thanks
 

Eumel

Active Member
Licensed User
Longtime User
Hi,

sharing variables during all modules , you must declare them in Process Globals.

If you want read the data from an other module, you must call them with the name of the module. eg Main.CursorName
 
Upvote 0
Top