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.

White Paper
Fabric-Based Computing Enables Optimized Hyperscale Data Centers

Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.

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