An Introduction to Gambas

If you think Visual Basic is almost useful, here's a way to almost get it on Linux.
______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

help me report design

dj yunnha's picture

how to create report in gambas use free tols ??

some questions (bugs in bugtracker?)

wig's picture

Interested in Gambas, which has very few publications, I read your article (picked it out of my stack of Linux Journals again).
Because this article relies very much on code, I have a couple of questions after reading and using the article:

- no mention of the "get_id" function (1)

- after making the frmAddBug form, there's no mention of the code to effectively save the bug. (2) In the code it seems to have a wrong name (btnAddBug_click instead of btnSaveBug_click)

- doesn't the status have to be 1 (new) by default? As design in the database (status_id) or in the Save code? A new record gets no status, and I see nowhere how it will be shown, all selections are done with the id of a status being there. Other selections? (status = NULL?)

- at the end of the article there is "data.runSQL(..)" but I can nowhere find this method. Does it have to be data.Exec()?

I must admit that I am entering it in Gambas 1.9 (not 1.0), but there seems to be more than version incompatiblity like system.user that is now system.user.name etc.

(1), (2): it is in the downloadable code thought
Without the code download it is difficult to follow the article in code.

ps: it would be interesting to update it to Gambas2 or at least 1.9.x if you would take it in your hands again to look at these ..

Thanks.

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Upcoming Webinar
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
11am CDT, April 29th
Moderated by Linux Journal Contributor Mike Diehl

Sign up now

Sponsored by Skybot