[Gambas-user] DataComboView: reading rows and columns
Detlef Eberhardt
detlef.eberhardt at gmail.com
Sat Jan 30 18:44:24 CET 2021
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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210130/a7828c9f/attachment.htm>
More information about the User
mailing list