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.

Webcast
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers

Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.

Learn More

Sponsored by AMD

White Paper
Red Hat White Paper: Using an Open Source Framework to Catch the Bad Guy

Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6

Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.

Learn more about catching the bad guy in this free white paper.

Learn More

Sponsored by DLT Solutions