Re: [Gambas-user] DataBrowser Out of Bounds error

2018-10-28 Thread Markus Schatten
On Mon, Oct 22, 2018 at 1:17 AM Benoît Minisini wrote: > > Le 22/10/2018 à 00:43, Markus Schatten a écrit : > > Dear all, > > > > I'm having a weird "Out of bounds" error in the DataBrowser. I'm using > > the DataBrowser with a PostgreSQL database to edit tables. The error > > occurs only if I

Re: [Gambas-user] DataBrowser Out of Bounds error

2018-10-21 Thread Benoît Minisini
Le 22/10/2018 à 00:43, Markus Schatten a écrit : Dear all, I'm having a weird "Out of bounds" error in the DataBrowser. I'm using the DataBrowser with a PostgreSQL database to edit tables. The error occurs only if I add a new row (with a click on the empty row), enter data for a few columns,

[Gambas-user] DataBrowser Out of Bounds error

2018-10-21 Thread Markus Schatten
Dear all, I'm having a weird "Out of bounds" error in the DataBrowser. I'm using the DataBrowser with a PostgreSQL database to edit tables. The error occurs only if I add a new row (with a click on the empty row), enter data for a few columns, then go back to edit some previous column and then

Re: [Gambas-user] DataBrowser Help Again

2014-12-21 Thread Benoît Minisini
Le 16/12/2014 13:59, Fabien Bodard a écrit : I have problems on setting the database connection property on databrowser too. when the cell lose the focus the connection name desapear. so then i can't choose table name ! It should be fixed in revision #6761. Regards, -- Benoît Minisini

Re: [Gambas-user] DataBrowser Help Again

2014-12-16 Thread Fabien Bodard
I have problems on setting the database connection property on databrowser too. when the cell lose the focus the connection name desapear. so then i can't choose table name ! 2014-12-15 22:23 GMT+01:00 T Lee Davidson t.lee.david...@gmail.com: Hello Christian, I did not have any success

Re: [Gambas-user] DataBrowser Help Again

2014-12-16 Thread Christian e Ana Luiza Britto
. Is there a way, to configure the pathes? Many thanks Rolf -- Message: 3 Date: Tue, 16 Dec 2014 13:59:38 +0100 From: Fabien Bodard gambas...@gmail.com Subject: Re: [Gambas-user] DataBrowser Help Again To: mailing list for gambas users gambas-user

Re: [Gambas-user] DataBrowser Help Again

2014-12-15 Thread T Lee Davidson
Hello Christian, I did not have any success getting the IDE to give me any options for the Connection property. (The list was always blank.) So, I set it programmatically. With your app, on the form, make sure the DataSource control is the parent of the DataBrowser. Sample project

[Gambas-user] DataBrowser Help

2014-12-14 Thread Christian e Ana Luiza Britto
Hi, I'm trying to make a form with a DataBrowser to edit fields in a SqLite 3 table. I've tryed everything... I made a connection, put the datasource container in a form with the Databrowser within with the columns and labels names but nothing happen. It doesn't work. Please, someone can share

Re: [Gambas-user] DataBrowser Help

2014-12-14 Thread Benoît Minisini
Le 14/12/2014 13:34, Christian e Ana Luiza Britto a écrit : Hi, I'm trying to make a form with a DataBrowser to edit fields in a SqLite 3 table. I've tryed everything... I made a connection, put the datasource container in a form with the Databrowser within with the columns and labels names

[Gambas-user] DataBrowser Help Again

2014-12-14 Thread Christian e Ana Luiza Britto
Hi Benoît Minisini and everybody Yes, I've tried to follow the Database example. If I run it it works, but my app still doesn't work. I'm using Gambas version 3.6.90. When I try to inform the Datasource connection name property via IDE the database connection I inform is not maintained, when I

[Gambas-user] DataBrowser bugs

2009-11-04 Thread Jean-Yves F. Barbier
gb 2.17 Debian sid qt SQL requests are written, not using intrinsic postgresql 8.4.1 table test( id serial primary key, label varchar(8) not null, date_cre timestamp default now(), date_mod timestamp default NULL, mri_users_cre integer default 1, mri_users_mod integer default NULL, front

Re: [Gambas-user] DataBrowser bugs

2009-11-04 Thread Benoît Minisini
gb 2.17 Debian sid qt SQL requests are written, not using intrinsic postgresql 8.4.1 table test( id serial primary key, label varchar(8) not null, date_cre timestamp default now(), date_mod timestamp default NULL, mri_users_cre integer default 1, mri_users_mod integer default

[Gambas-user] DataBrowser question

2009-10-14 Thread nospam.nospam.nos...@gmail.com
Is there a way to selectively disable the buttons on the navigation panel shown on a DataBrowser? I want to allow users to move forward and back through the data but not add, delete or save changes. Thanks for your assistance.

Re: [Gambas-user] DataBrowser question

2009-10-14 Thread Ricardo Díaz Martín
I use for do this no contol box. I got a form with a grid view with two columns (first length = 0) and I got a funtion that open the form fill the gridvied with available values (at fist row the key and at the second the visible value for the user) and send to the form the value you choice. In the

Re: [Gambas-user] DataBrowser question

2009-10-14 Thread Jorge Carrión
Ricardo: I'm interested in your component. I have done something like this, and I like to compare. Thanks 2009/10/14 Ricardo Díaz Martín oceanosoftlapa...@gmail.com I use for do this no contol box. I got a form with a grid view with two columns (first length = 0) and I got a funtion that open

Re: [Gambas-user] DataBrowser question

2009-10-14 Thread Matti
DataSource1.ReadOnly = TRUE and the buttons are gone. nospam.nospam.nos...@gmail.com schrieb: Is there a way to selectively disable the buttons on the navigation panel shown on a DataBrowser? I want to allow users to move forward and back through the data but not add, delete or save changes.

Re: [Gambas-user] DataBrowser question

2009-10-14 Thread Ricardo Díaz Martín
Jorge, You got it. There are more subs/functions you need but I hope you can extract you want. Please note there is a class TipoString that is only used to pass a string by reference (I'm using gambas2) Regards, Ricardo El 14 de octubre de 2009 17:56, Jorge Carrión sho...@gmail.com escribió:

Re: [Gambas-user] DataBrowser question

2009-10-14 Thread Jorge Carrión
Gracias colega. Regards 2009/10/14 Ricardo Díaz Martín oceanosoftlapa...@gmail.com Jorge, You got it. There are more subs/functions you need but I hope you can extract you want. Please note there is a class TipoString that is only used to pass a string by reference (I'm using gambas2)

Re: [Gambas-user] DataBrowser question

2009-10-14 Thread nospam.nospam.nos...@gmail.com
On Wed, 2009-10-14 at 18:08 +0200, Matti wrote: DataSource1.ReadOnly = TRUE and the buttons are gone. Ah! Absolutely brilliant. Thank you. It's not exactly clear in the documentation, and I searched everywhere before asking. I've sent an email to gam...@users.sourceforge.net to request signup

Re: [Gambas-user] DataBrowser question

2009-10-14 Thread Kad Mann
On Wed, 2009-10-14 at 16:16 +0200, Ricardo Díaz Martín wrote: If someone needs it I can put here . I'd like to see it. Note the component is in spanish ;-) I'm sure the code will speak for itself :) -- Come build

Re: [Gambas-user] DataBrowser

2009-09-05 Thread Mathias Ebermann
Yes, I remember the old days in VB. It was very simple, when you used the result of a SQL query as DataSource. I will install Gambas3. Thanks. Benoît Minisini schrieb: No, Charlie, I didn't mean the headers. I know how to rename them. What I meant is: In my DataSource table I have a

Re: [Gambas-user] Databrowser/Gridview events?

2009-09-03 Thread Ron
Jean-Yves F. Barbier wrote: Ron a écrit : Is it possible to catch events from a DataBrowser object? Lets say PUBLIC SUB DataBrowser1_MouseUp() ... END PUBLIC SUB DataBrowser1_DblClick() ... END The docs say those are valid but I cannot get it to work, they dont seem to get

[Gambas-user] DataBrowser

2009-08-31 Thread Mathias Ebermann
Hi, DataBrowser is a really great tool.You don't need any code for displaying the fields of records, depending on what the user clicks in the GridView.. But since DataBrowser uses only ONE table (set in DataSource), I can't find a way to display for example Producer.Name in the GridView

Re: [Gambas-user] DataBrowser

2009-08-31 Thread Charlie Reinl
Am Montag, den 31.08.2009, 21:52 +0200 schrieb Mathias Ebermann: Hi, DataBrowser is a really great tool.You don't need any code for displaying the fields of records, depending on what the user clicks in the GridView.. But since DataBrowser uses only ONE table (set in DataSource), I can't

Re: [Gambas-user] DataBrowser

2009-08-31 Thread Mathias Ebermann
No, Charlie, I didn't mean the headers. I know how to rename them. What I meant is: In my DataSource table I have a field ProducerID. That points to another table Producers with the key field id and the field Name. Now I would like to have the Column Producers.Name in the list instead of

Re: [Gambas-user] DataBrowser

2009-08-31 Thread Jean-Yves F. Barbier
Mathias Ebermann a écrit : No, Charlie, I didn't mean the headers. I know how to rename them. What I meant is: In my DataSource table I have a field ProducerID. That points to another table Producers with the key field id and the field Name. Now I would like to have the Column

Re: [Gambas-user] DataBrowser

2009-08-31 Thread Benoît Minisini
No, Charlie, I didn't mean the headers. I know how to rename them. What I meant is: In my DataSource table I have a field ProducerID. That points to another table Producers with the key field id and the field Name. Now I would like to have the Column Producers.Name in the list instead of

Re: [Gambas-user] DataBrowser

2009-08-31 Thread Benoît Minisini
No, Charlie, I didn't mean the headers. I know how to rename them. What I meant is: In my DataSource table I have a field ProducerID. That points to another table Producers with the key field id and the field Name. Now I would like to have the Column Producers.Name in the list

Re: [Gambas-user] Databrowser/Gridview events?

2009-08-20 Thread Jean-Yves F. Barbier
Ron a écrit : Is it possible to catch events from a DataBrowser object? Lets say PUBLIC SUB DataBrowser1_MouseUp() ... END PUBLIC SUB DataBrowser1_DblClick() ... END The docs say those are valid but I cannot get it to work, they dont seem to get called, anyone use these? Gambas

[Gambas-user] Databrowser/Gridview events?

2009-08-20 Thread Ron
Is it possible to catch events from a DataBrowser object? Lets say PUBLIC SUB DataBrowser1_MouseUp() ... END PUBLIC SUB DataBrowser1_DblClick() ... END The docs say those are valid but I cannot get it to work, they dont seem to get called, anyone use these? Gambas 2.15.2, qt. Regards,

[Gambas-user] Databrowser

2009-04-18 Thread Rodney Rundstrom
When I insert a databrowser into my project I sometime do not see all the control icons and currently on some when all are there the new does seem to work Anyone help Thanks Rodney Rundstrom -- Stay on top of

[Gambas-user] databrowser toolbar - delete

2009-04-16 Thread nando
hi, is there a way when i press the del button in the toolbar not to delete the register in the database but modify the register to set it as inactive? Thank you -- Stay on top of everything new and different, both

Re: [Gambas-user] databrowser toolbar - delete

2009-04-16 Thread Jesus Guardon
Hi Nando I don't know exactly if this behavior could be changed, but, why don't you use a tableview or gridview instead? I think it may be not so difficult to implement the same functionality in a custom toolbar. Regards Jesús nando escribió: hi, is there a way when i press the del button