Re: [Gambas-user] Financial program

2009-12-14 Thread Doriano Blengino
nando ha scritto: > My contribution to this conversation is.. > Always INT or LONG for money. > Keep a global variable to divide by (for example 2 decimal places) 100 > when printing/displaying things to humans... > -OR- to take the string and insert a period for cents (North America) > Make a real

Re: [Gambas-user] Financial program

2009-12-14 Thread nando
My contribution to this conversation is.. Always INT or LONG for money. Keep a global variable to divide by (for example 2 decimal places) 100 when printing/displaying things to humans... -OR- to take the string and insert a period for cents (North America) Make a really nice SUB to return a format

Re: [Gambas-user] Financial program

2009-12-14 Thread Ron_1st
On Tuesday 15 December 2009, Benoît Minisini wrote: > Again we are talking about currencies. What's the matter with telephony > seconds? If you want to say that you have to store 1/1000th of cents, ro > more, > just choose a more precise format. With a Long datatype and using 1/100th > of c

Re: [Gambas-user] Financial program

2009-12-14 Thread Ron_1st
On Monday 14 December 2009, Jean-Yves F. Barbier wrote: > Benoît Minisini a écrit : > ... > > I think you are mixing a lot of different things: > > > > - When storing a amount of money in memory, you store it in a Long integer > > in > > 1/10th of cents. For example, storing 1234,56€ will be sto

Re: [Gambas-user] Financial program

2009-12-14 Thread Benoît Minisini
> Benoît Minisini a écrit : > ... > > > I think you are mixing a lot of different things: > > > > - When storing a amount of money in memory, you store it in a Long > > integer in 1/10th of cents. For example, storing 1234,56€ will be stored > > as 123456 > > I'm gonna test that, but it implies m

Re: [Gambas-user] Financial program

2009-12-14 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : ... > I think you are mixing a lot of different things: > > - When storing a amount of money in memory, you store it in a Long integer in > 1/10th of cents. For example, storing 1234,56€ will be stored as 123456 I'm gonna test that, but it implies more load of the DB se

Re: [Gambas-user] Financial Program

2009-12-14 Thread Matti
1. "Accounting programs are very much underestimated." That's true, indeed. I know a lot of people who thought that accounting was a minor matter, bought some program and did something not knowing what they did. They all got big problems with the tax authorities. 2. Writing an accounting program i

Re: [Gambas-user] Editor control

2009-12-14 Thread John
I thought that the Flags must have been on by default, with the highlight property set to none the background color changed when a line was modified. Thank you so much for straightening me out Benoît. > As for the background color, the Editor actually does not use it, it uses the > background co

Re: [Gambas-user] Editor control

2009-12-14 Thread Benoît Minisini
> > Do you use Gambas 3 ? Do you use the latest revision ? > > That would have been useful information to add, sorry. I tried both > Gambas 2.18 and Gambas 3 svn (updated today). > > > Editor.Flags[Editor.ShowModifiedLines] = False > > Editor.Flags[Editor.ShowCurrentLine] = False > > > > Regards,

Re: [Gambas-user] Editor control

2009-12-14 Thread John
> Do you use Gambas 3 ? Do you use the latest revision ? > > That would have been useful information to add, sorry. I tried both Gambas 2.18 and Gambas 3 svn (updated today). > Editor.Flags[Editor.ShowModifiedLines] = False > Editor.Flags[Editor.ShowCurrentLine] = False > > Regards, > > T

Re: [Gambas-user] Financial program

2009-12-14 Thread Benoît Minisini
> Benoît Minisini a écrit : > >> Benoît Minisini a écrit : > Fabien Bodard a écrit : > > you have Laurux at http://laurux.fr/ > > > > but the code is not perfect has it was on the start a code learning > > programme.. but at the end it's a true accounting program... in > >

Re: [Gambas-user] Financial program

2009-12-14 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> Benoît Minisini a écrit : Fabien Bodard a écrit : > you have Laurux at http://laurux.fr/ > > but the code is not perfect has it was on the start a code learning > programme.. but at the end it's a true accounting program... in french > (Gb2) >>>

Re: [Gambas-user] Financial program

2009-12-14 Thread Tony
Kari Laine wrote: > Hi, > > I have already done little billing program for my parents little firm. > It was a learning exercise. It would make a big help to get little > companies to move to Linux if there was a financial program that run > on Linux and would be free. There comes in Gambas. > > Is

Re: [Gambas-user] Financial program

2009-12-14 Thread Benoît Minisini
> Benoît Minisini a écrit : > >> Fabien Bodard a écrit : > >>> you have Laurux at http://laurux.fr/ > >>> > >>> but the code is not perfect has it was on the start a code learning > >>> programme.. but at the end it's a true accounting program... in french > >>> (Gb2) > >> > >> BTW, do you plan to

Re: [Gambas-user] Financial program

2009-12-14 Thread girardhenri
You have the wonderfull accounting programm www.laurus.fr Here you have some : http://gambas.sourceforge.net/en/main.html enjoy :) Henri -- From: "Kari Laine" Sent: Monday, December 14, 2009 4:32 PM To: Subject: [Gambas-user] Financial program >

Re: [Gambas-user] Financial program

2009-12-14 Thread Werner
On 15/12/09 01:22, Kari Laine wrote: > Hi, > >> There is Quasar from Linux Canada. It is very similar to MYOB. Their >> last GPL version is 1.4.7, I think. >> > Do you have the source for the GPL version. I visited their site and > couldn't find it. > > > >> If you think you can write a

Re: [Gambas-user] Financial program

2009-12-14 Thread Jean-Yves F. Barbier
Kari Laine a écrit : > Hi, > > thanks > > On Mon, Dec 14, 2009 at 6:03 PM, Fabien Bodard wrote: >> you have Laurux at http://laurux.fr/ >> >> but the code is not perfect has it was on the start a code learning >> programme.. but at the end it's a true accounting program... in french >> (Gb2) >>

Re: [Gambas-user] Financial program

2009-12-14 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> Fabien Bodard a écrit : >>> you have Laurux at http://laurux.fr/ >>> >>> but the code is not perfect has it was on the start a code learning >>> programme.. but at the end it's a true accounting program... in french >>> (Gb2) >> BTW, do you plan to have an equivalent of

Re: [Gambas-user] Editor control

2009-12-14 Thread Benoît Minisini
> I have a problem with the editor control, I set it to have a grey > background, but if I load a file it becomes white. Is there a way that I > can change the background color for modified lines and the current line? Do you use Gambas 3 ? Do you use the latest revision ? > > If not how can I tu

Re: [Gambas-user] Financial program

2009-12-14 Thread Kari Laine
Hi, thanks On Mon, Dec 14, 2009 at 6:03 PM, Fabien Bodard wrote: > you have Laurux at http://laurux.fr/ > > but the code is not perfect has it was on the start a code learning > programme.. but at the end it's a true accounting program... in french > (Gb2) > I don't read a single word French so

Re: [Gambas-user] Financial program

2009-12-14 Thread Kari Laine
Hi, > There is Quasar from Linux Canada. It is very similar to MYOB. Their > last GPL version is 1.4.7, I think. Do you have the source for the GPL version. I visited their site and couldn't find it. > If you think you can write a decent accounting program in 3 man months > you don't know what t

Re: [Gambas-user] Financial program

2009-12-14 Thread Benoît Minisini
> Fabien Bodard a écrit : > > you have Laurux at http://laurux.fr/ > > > > but the code is not perfect has it was on the start a code learning > > programme.. but at the end it's a true accounting program... in french > > (Gb2) > > BTW, do you plan to have an equivalent of postgresql or python dec

Re: [Gambas-user] Financial program

2009-12-14 Thread Werner
On 14/12/09 23:32, Kari Laine wrote: > Hi, > > I have already done little billing program for my parents little firm. > It was a learning exercise. It would make a big help to get little > companies to move to Linux if there was a financial program that run > on Linux and would be free. There comes

Re: [Gambas-user] Financial program

2009-12-14 Thread Fabien Bodard
i've bookmarked the pyton page ... this is an interesting thing but ... always the time problem ... 2009/12/14 Jean-Yves F. Barbier <12u...@gmail.com>: > Fabien Bodard a écrit : >> you have Laurux at http://laurux.fr/ >> >> but the code is not perfect has it was on the start a code learning >> p

Re: [Gambas-user] Financial program

2009-12-14 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : > you have Laurux at http://laurux.fr/ > > but the code is not perfect has it was on the start a code learning > programme.. but at the end it's a true accounting program... in french > (Gb2) BTW, do you plan to have an equivalent of postgresql or python decimal(n,n) into

[Gambas-user] Editor control

2009-12-14 Thread John
I have a problem with the editor control, I set it to have a grey background, but if I load a file it becomes white. Is there a way that I can change the background color for modified lines and the current line? If not how can I turn off ShowModifiedLines and ShowCurrentLine? Thanks, John Note

Re: [Gambas-user] Financial program

2009-12-14 Thread Fabien Bodard
you have Laurux at http://laurux.fr/ but the code is not perfect has it was on the start a code learning programme.. but at the end it's a true accounting program... in french (Gb2) 2009/12/14 Kari Laine : > Hi, > > I have already done little billing program for my parents little firm. > It wa

[Gambas-user] Financial program

2009-12-14 Thread Kari Laine
Hi, I have already done little billing program for my parents little firm. It was a learning exercise. It would make a big help to get little companies to move to Linux if there was a financial program that run on Linux and would be free. There comes in Gambas. Is there already an GPLed financial

[Gambas-user] signal SIGSEGV, Segmentation fault when using database example with ODDBC to a MSSQL Database

2009-12-14 Thread Franklin Solutions Limited
Problem #11 when using ODBC to connect to a remote database running on MS SQL Server 2000. I can connect to the database and run queries using tsql from a terminal and isql from a root terminal and I can connect using odbc in Gambas2 if the ide is started from a root terminal but not if started