Strugling with information

aklisiewicz

Active Member
Licensed User
Longtime User
I keep having problems finding the right information, and it starts driving me nuts, because I just waste lots of time trying to find things which should be easily available.
I'm just looking a DButils() library and I was able to locate Erel's example but no library syntax. For example I located some information about the:

- ExecuteListView: Executes a SELECT query and fills the ListView with the values of the first column and optionally of the second column.

method, but was not able to locate the all other parameters and their descriptions.

there is a line in a sample code like:

B4X:
[COLOR=#000000]gen.Initialize(DBUtils.ExecuteJSON([/COLOR][COLOR=#008B8B]SQL[/COLOR][COLOR=#000000], [/COLOR][COLOR=#800000]"[/COLOR][COLOR=#800000]SELECT Id, [Last Name], Birthday FROM Students[/COLOR][COLOR=#800000]"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#0000FF]Null[/COLOR][COLOR=#000000], _
    [/COLOR][COLOR=#800080]0[/COLOR][COLOR=#000000], [/COLOR][COLOR=#0000FF]Array[/COLOR][COLOR=#0000FF]As[/COLOR][COLOR=#008B8B]String[/COLOR][COLOR=#000000](DBUtils.DB_TEXT, DBUtils.DB_TEXT, DBUtils.DB_INTEGER)))[/COLOR]
but I can only guess what other parameters (after the SQL code) stand for.
Why is it so often a problem to make a proper library reference(?)


Here is another line of code which is unclear to me:

DBUtils.ExecuteListView(SQL1, "SELECT IssueName FROM issues'", Null, 0, ListView1, False)

what are the last 4 parameters ?


I really appreciate if someone could point me to the DButils() reference (because this information is not enough)



Arthur
 
Last edited:
Top