[Gambas-user] Errors using DataBrowser control
Doug Hutcheson
owlbrudder at gmail.com
Wed Jan 10 08:46:54 CET 2018
On Sun, 2018-01-07 at 14:25 +1000, Doug Hutcheson wrote:
> On Sat, 2018-01-06 at 10:08 +0100, Benoît Minisini wrote:
> > Le 06/01/2018 à 09:27, Doug Hutcheson a écrit :
> > > Hi everyone.
> > >
> > > I am having difficulty with my DataBrowser on a PostgreSQL table.
> > > I have
> > > attached the source of my mini project, an SQL dump of the table,
> > > and
> > > two images showing the error when I click the delete button and
> > > when I
> > > click the save button. In both cases it is complaining about a
> > > null
> > > object, but I cannot work out which object this refers to. I was
> > > able to
> > > add the record "Fungusbungle" using the DataBrowser, but now I
> > > can't use
> > > the same control to get rid of it again.
> > >
> > > I am sure it is my lack of understanding which is causing these
> > > problems. Any help would be appreciated.
> > >
> > > Thanks everyone for the great help in getting me up and running
> > > with the
> > > Connection object.
> > >
> > > Kind regards,
> > > Doug
> > >
> >
> > How did you create the 'tblparameters2.sql' file? It is not a text
> > file.
> >
> Finger fumble when creating it. Here is the version I meant to
> provide.
> Sorry,
> Doug
Hi everyone.
Just to complete the picture with my DataBrowser problems, I have
attached three images: after trying to edit, to save and to delete a
record. In all cases the control was in edit mode. Adding is unreliable
in that it reports "You must fill in all mandatory fields" but the
record is added. It also sometimes terminates the application, but on
running the application again, the record is present.
I am not recording these as bugs, because I expect the error to be in
my code, or in my understanding of how things are supposed to work,
rather than in Gambas itself. Please let me know if you would prefer
them as bug reports.
Kind regards,
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180110/305a8750/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gambas after trying to delete record.png
Type: image/png
Size: 11103 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180110/305a8750/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gambas after trying to edit record.png
Type: image/png
Size: 7473 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180110/305a8750/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gambas after trying to save record.png
Type: image/png
Size: 7028 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180110/305a8750/attachment-0005.png>
More information about the User
mailing list