Re: [Gambas-user] Show records on a WebTable

2017-03-22 Thread Fabien Bodard
Herberth : Private $rs as Result Private $Fields as New String[] 'or somewhere else Public sub _New() dim f as ResultField dim i as integer M_DB.Connect() 'DB is the last connected db $rs = DB.Exec("SELECT Title FROM tbapps where tbapps.Title like '%'") If rs.Available Then ' Setup

Re: [Gambas-user] Show records on a WebTable

2017-03-21 Thread Tobias Boege
On Tue, 21 Mar 2017, herberth guzman wrote: > >Le 17/03/2017 à 20:18, Tobias Boege a écrit : > > I didn't test it, but the following is approximately how it goes: > > > > Public Sub WebTable1_Data(Row As Integer, Column As Integer, Data As > > WebTableData) > > Dim i As Integer > > Dim

Re: [Gambas-user] Show records on a WebTable

2017-03-21 Thread herberth guzman
>Le 17/03/2017 à 20:18, Tobias Boege a écrit : > I didn't test it, but the following is approximately how it goes: > > Public Sub WebTable1_Data(Row As Integer, Column As Integer, Data As > WebTableData) > Dim i As Integer > Dim f As ResultField > > cx = M_DB.Connect() > rs =

Re: [Gambas-user] Show records on a WebTable

2017-03-17 Thread Benoît Minisini
Le 17/03/2017 à 20:18, Tobias Boege a écrit : > I didn't test it, but the following is approximately how it goes: > > Public Sub WebTable1_Data(Row As Integer, Column As Integer, Data As > WebTableData) > Dim i As Integer > Dim f As ResultField > > cx = M_DB.Connect() > rs =

Re: [Gambas-user] Show records on a WebTable

2017-03-17 Thread Tobias Boege
On Fri, 17 Mar 2017, herberth guzman wrote: > Regards, I need help, something I am doing wrong. > > I need to display the records of a Table from a DB in a WebTable > The following code does not work for me in a WebForm and WebTable > > > Public Sub WebTable1_Data(Row As Integer, Column As