Android Question How can I read some properties from a variable?


Active Member
Licensed User
I am trying to guess how to read some properties from a variable.

My code is
    Dim db As JackcessDatabase
    db.Open(File.DirRootExternal & "/Northwind.mdb")
    Dim Table As JackcessTable
The properties that I want to read are from the variable Table, like the screenshot, and I am interesting in one of those properties, that is highlighted on the screenshot.
Could you help me please.

Thank you so much.


Active Member
Licensed User
Ok, thank you Erel,
Before to post this message I tried with JavaObject but I did not have good results.
I tried with the actual wrapped library Jackcess but the problem that I found is that there is not include a method getColumns() that exists in java.

I tried with
Dim JO as JavaObject
Log(jo.RunMethod("getcolumns",Array As Object("")))

the previous said code gave the error:
java.lang.RuntimeException: Method: getcolumns not found in: anywheresoftware.b4a.objects.JackcessDatabase$JackcessTable

and the next one,

java.lang.RuntimeException: Field: _columns not found in: anywheresoftware.b4a.objects.JackcessDatabase$JackcessTable

anyone has a similar code where I can do some test I figure out, please.

Thank you


Active Member
Licensed User
Thank you Erel, I start working on it.