[Gambas-user] DataComboView: reading rows and columns

Gianluigi bagonergi at gmail.com
Sat Jan 30 19:08:42 CET 2021


👍... and thank you for the information

Regards
Gianluigi

Il giorno sab 30 gen 2021 alle ore 19:05 Detlef Eberhardt <
detlef.eberhardt at gmail.com> ha scritto:

> I tried the code with my external sqlite3 database and it works! All good
> now. There is no need to import the DB into Gambas.
> I really appreciate your help.
>
> Thank you, Gianluigi. This is excellent. The example makes it very clear to me how to get the data. That is exactly what I needed. Finally, how can I import an existing sqlite3 database into Gambas?
>
> Do I have to set it up manually or can I just import the existing schema and data?
>
>
>
> yes, that's what I already have: a conntection1, a datasource bound to the
> connection1, a couple of DataControls (which works perfectly) and two
> DataComboView controls with the appropiate table and columns. It all works
> fine.
> What is the purpose to insert the DB into the application and how can I do
> that? Do you have any code snippets or links to a documentation? The other
> question is how can I practically read the rows and columns from the
>  DataComboView controls?
>
>
> Hi Gambas community,
>
> this is my very first post in a mailinglist, so please point me into the
> right direction if I miss something.
>
> I just started this week with a Gambas GUI-frontend of a Lens-Register
> database. It's great fun to work with Gambas as it is IMHO more
> comfortable than any other VB*A or whatever. I have got some issues
> with the DataComboView controls as I cannot find any further help or code
> snippets on the internet. The DataComboView is bound to a table in
> sqlite3 (with PK) and shows 2 columns. How can I read the first and
> second column (and row) out of the DataComboView control?
>
> Cheers
> 01McAc
>
>
>
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210130/d8e604b0/attachment.htm>


More information about the User mailing list