gb.db2 Order by

Post your Gambas programming questions here.
User avatar
grayghost4
Regular
Posts: 217
Joined: Wed Dec 05, 2018 5:00 am
Location: Marengo, Illinois usa

Re: gb.db2 Order by

Post by grayghost4 »

I just updated to the latest fedora 41 kernel Gnome
Gambas 3.20.2 ... fresh install
still no joy :(

Image
You do not have the required permissions to view the files attached to this post.
User avatar
grayghost4
Regular
Posts: 217
Joined: Wed Dec 05, 2018 5:00 am
Location: Marengo, Illinois usa

Re: gb.db2 Order by

Post by grayghost4 »

There is a bug in the new gb.db2 the line below produces the results shown

Print DB.Subst("delete from [&1] where '&2' = &3 ", sFileName, sFileField, sFileIndex)

delete from ['bkaccts'] where ''accname'' = 'newAcc88'
and produces a error

while gb.db outputs this

delete from "bkaccts" where "accname" = 'newAcc88'
and works as expected
Poly
Newbie
Posts: 42
Joined: Sat Nov 02, 2024 11:10 am

Re: gb.db2 Order by

Post by Poly »

Hi Grayghost4
grayghost4 wrote: Wed Mar 19, 2025 5:34 pm There is a bug in the new gb.db2 the line below produces the results shown
Thank you very much for the confirmation and all your efforts. :)
I don't have a Bug Tracker-Account yet, but would make one if no one else can or wants to do it.

Greetings Poly
User avatar
grayghost4
Regular
Posts: 217
Joined: Wed Dec 05, 2018 5:00 am
Location: Marengo, Illinois usa

Re: gb.db2 Order by

Post by grayghost4 »

I have no clue how to find or use the bugtracker :(
User avatar
gbWilly
Site Admin
Posts: 158
Joined: Fri Sep 23, 2016 11:41 am
Location: Netherlands
Contact:

Re: gb.db2 Order by

Post by gbWilly »

grayghost4 wrote: Wed Mar 19, 2025 9:19 pm I have no clue how to find or use the bugtracker :(
https://gambaswiki.org/bugtracker

I didn't test but it might well be a bug.

And be aware:
- Subst is part of core gb
- db.subst is part of gb.db and now gb.db2 componet and is a different ballgame meant for substitution specifically aimed at sql based databases.
gbWilly
- Dutch translation for Gambas3
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories

- GambOS

... there is always a Catch if things go wrong!
User avatar
grayghost4
Regular
Posts: 217
Joined: Wed Dec 05, 2018 5:00 am
Location: Marengo, Illinois usa

Re: gb.db2 Order by

Post by grayghost4 »

I attempted several time to register at the bug tracker .... unsuccessful .... seems there is a bug there also ;)

maybe I will get several email by the weekend
User avatar
thatbruce
Regular
Posts: 293
Joined: Sat Sep 04, 2021 11:29 pm

Re: gb.db2 Order by

Post by thatbruce »

Well, you both are correct. I can now confirm the bug (or maybe even more bugs) in DB2. I was having difficulty convincing myself they were here as the symptoms didn't happen with a postgres database. Hence my grumpy comments about "it does what it says it does". Sorry.
Now, as regards the bug tracker. (greyghost, did you get my PMs?) and for everyone else ... gmail is blocking the registration confirmation email from the Gambas bugtracker server, if you register with a gmail account you'll never get it. Today, I registered again with another mail account from another free mail provider and got the confirmation in seconds.
regards
b
User avatar
grayghost4
Regular
Posts: 217
Joined: Wed Dec 05, 2018 5:00 am
Location: Marengo, Illinois usa

Re: gb.db2 Order by

Post by grayghost4 »

yes, I did use a gmail.com account and never received a reply .
But if you file a report I don't need a error tracker account :D :lol:
Poly
Newbie
Posts: 42
Joined: Sat Nov 02, 2024 11:10 am

Re: gb.db2 Order by

Post by Poly »

Hi thatbruce
thatbruce wrote: Thu Mar 20, 2025 12:47 pm Hence my grumpy comments about "it does what it says it does". Sorry.
That is a beautiful character. Thank you. :)
You didn't actually say anything bad, but as I'm not an IT specialist and am currently familiarising myself with Gambas, I was a bit confused.
I'm all the more pleased that you can now confirm the error and have apologised for your grumpy comments.

Great community, many thanks to you all. :D
Poly
Newbie
Posts: 42
Joined: Sat Nov 02, 2024 11:10 am

Re: gb.db2 Order by

Post by Poly »

Hi Grayghost4
grayghost4 wrote: Thu Mar 20, 2025 1:23 pm But if you file a report I don't need a error tracker account :D :lol:
I have just written my first bug report. I hope it is understandable. ;)
Post Reply