Re: [Gambas-user] Re port for Gambas

2009-05-12 Thread Sergio A. Hernandez
Kido, Other nice option is to use the XSLT component. At the beginning I was thinking in some fancy PInvoke over Kugar, but after the email from Marc I realize that we need to keep it in the scope of the simplest solution. The best thing to do is to convert the mysql output to xml, then transform t

Re: [Gambas-user] Testing Sites

2009-05-12 Thread Sergio A. Hernandez
This is an interesting proposal : A repository-like site of Gambas Projects. Sound nice. Probably, you can register a sourceforge project or even in a personal blog. I'm sure that some other programmers may be willing to help others and their selves by testing others software. On Mon, May 11, 20

Re: [Gambas-user] Looking for a little help with an app.

2009-05-12 Thread CelticBhoy
OK had to change it about to this :- PUBLIC SUB CSales_Change() TotalSales.Value = 0 IF BarSales.Text <> NULL THEN TotalSales.Value = BarSales.Value / SDiv[CheckItem.Index + 1] IF OSSales.Text <> NULL THEN TotalSales.Value = TotalSales.Value + OSSales.Value IF OSMultiSales.Text <> NULL TH

Re: [Gambas-user] Looking for a little help with an app.

2009-05-12 Thread CelticBhoy
Trying this :- IF NOT NULL(BarSales.Value) THEN TotalSales.Value = BarSales.Value / SDiv[CheckItem.Index + 1] Getting this :- Unknown identifier :NULL at line 557 in FMain.class -- View this message in context: http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480295p23

Re: [Gambas-user] Looking for a little help with an app.

2009-05-12 Thread Rolf-Werner Eilert
CelticBhoy schrieb: > I have just one problem with this method of updating the totals, if I delete > the value contained in one of the valuebox items, I get this error :- > > Type mismatch, wanted number got null instead. As far as I know: a Gambas feature :-) If you put an empty string into a V

Re: [Gambas-user] Looking for a little help with an app.

2009-05-12 Thread CelticBhoy
I have just one problem with this method of updating the totals, if I delete the value contained in one of the valuebox items, I get this error :- Type mismatch, wanted number got null instead. -- View this message in context: http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480

Re: [Gambas-user] Re port for Gambas

2009-05-12 Thread Marc Miralles
yes Sergio, it works perfectly on gambas. I Think at this moment is a good solution for make reports in gambas I test this in gambas 2.12 Here the code in gambas, it's very easy: PUBLIC FUNCTION kugar DIM flname AS String DIM hfile AS file flname = User.home & "/gambas//projectname/