[Gambas-user] DataComboView: reading rows and columns

Gianluigi bagonergi at gmail.com
Fri Jan 29 19:21:00 CET 2021


Il giorno ven 29 gen 2021 alle ore 18:37 Gianluigi <bagonergi at gmail.com> ha
scritto:

>
>
> Il giorno ven 29 gen 2021 alle ore 17:25 Detlef Eberhardt <
> detlef.eberhardt at gmail.com> ha scritto:
>
>> 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
>>
>>
> Hi,
>
> I use the valuebox type Date. 👍
> Assuming you have created the table like this ($hConn is the connection to
> your sqlite3 database):
> ...
>

Sorry I misunderstood, in the properties choose: In Table the table, in
colums the columns of the table.

Of course you have to create a new connection in Connections...

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210129/92ea2b98/attachment.htm>


More information about the User mailing list