1. Alexis Colon Lugo
  2. as SQLite DB Server
  3. Freitag, August 30 2019, 06:39 PM
  4.  Abonnieren via E-Mail
Hi
Do you have an example of read from sqlite rest and fill ListBox with the data.

i am using iOS_vSQLite_Fast

thanks
Kommentar
There are no comments made yet.
Ivan Smahin Akzeptierte Antwort
Probably it would be helpful:

http://valentina-db.com/docs/dokuwiki/v9/doku.php?id=valentina:articles:vserver_rest

The only difference is "SQLite" instead of "Valentina" as a "vendor".
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hi Alexis,

No, there is no specific example but you can do it using ParseJSON method from Xojo.

You should modify the method PageReceived of mSQLSocket socket


Dim str As Text

Dim dict As Xojo.Core.Dictionary = Xojo.Data.ParseJSON( Xojo.Core.TextEncoding.UTF8.ConvertDataToText( Content ) )

Dim records() As Auto = dict.Value("records")
Dim values() As Auto

For Each values In records
str = str + values(1)
Next


You can replace "str = str + values(1)" with your implementation which fills the list box - values(1) is a value of the second field.
Kommentar
There are no comments made yet.
  • Seite :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories