Re: [Gambas-user] Can't access PostreSQL schemas

2009-09-25 Thread Jean-Yves F. Barbier
José Luis Castro a écrit : > Sorry, Jean-Yves: I have no idea how to do that. Is it necessary? Or -better > answered- when is necessary to declare a "search_path" variable? > Thaks for your help. search_path is a system variable, unique for each role. command to see what's going on is: show sear

Re: [Gambas-user] Can't access PostreSQL schemas

2009-09-25 Thread José Luis Castro
Sorry, Jean-Yves: I have no idea how to do that. Is it necessary? Or -better answered- when is necessary to declare a "search_path" variable? Thaks for your help. 2009/9/25 Jean-Yves F. Barbier <12u...@gmail.com> > José Luis Castro a écrit : > > Hi Benoît. Thanks for your kind answer. > > > > I m

Re: [Gambas-user] Can't access PostreSQL schemas

2009-09-25 Thread Jean-Yves F. Barbier
José Luis Castro a écrit : > Hi Benoît. Thanks for your kind answer. > > I must say, however, the database was created and it's maintained using the > application "PGAdmin", so I can say with absolute security that the table > I'm trying to acces has been created, in fact, with a primary key. Also

Re: [Gambas-user] Can't access PostreSQL schemas

2009-09-25 Thread José Luis Castro
Hi Benoît. Thanks for your kind answer. I must say, however, the database was created and it's maintained using the application "PGAdmin", so I can say with absolute security that the table I'm trying to acces has been created, in fact, with a primary key. Also I ran a lot of queries from PGAdmin

Re: [Gambas-user] how to start a file?

2009-09-25 Thread Robert JUHASZ
Hello, I'm very happy with this solution and was perfect as long as I used my program myself. Now I wanna put it in a common folder on the server and for storing the files I'll use a folder. To avoid the direct access of this folder, I'll make it protected. The question now is how can I handle th

Re: [Gambas-user] Can't access PostreSQL schemas

2009-09-25 Thread Benoît Minisini
> Hi. I've created a schema in a PostreSQL database. The sintax for accessing > data from the schema is: schema.tableName > That works fine when trying with .exec method (i.e. "SELECT * FROM > schema.tableName" or "INSERT INTO schema.tableName VALUES..."), but it > doesn't work when I try to use th

Re: [Gambas-user] Closing X in Form event?

2009-09-25 Thread Ron
If your goal is to prevent closing the form if users click the X I do this: PUBLIC SUB Form_Close() IF bAuthOk = FALSE THEN STOP EVENT END So if then are not authenticated (it's a login form) then disable X button. Regards, Ron_2nd. > You're right Rolf, > > I was under the impression that

Re: [Gambas-user] How to sent a line line to a lp1 printer and form to lp0 printer directly.

2009-09-25 Thread Demosthenes Koptsis
Ευγε! On Fri, Sep 25, 2009 at 1:06 PM, Doriano Blengino wrote: > Vassilis A. Kanatas ha scritto: >> Yees!!! >> >> Gracia Doriano, >> Ευχαριστώ  Demosthenes >> Merci Benoit >> >> It is done! >> >> Doriano had right >> >> I had to add the lp group to the user Vassilis. >> >

Re: [Gambas-user] Closing X in Form event?

2009-09-25 Thread Dimitris Anogiatis
You're right Rolf, I was under the impression that there was such an event :) sorry about that :) when you get it working would you mind pasting the code here? I'd like to take a look at it Regards Dimitris On Fri, Sep 25, 2009 at 4:26 AM, Rolf-Werner Eilert < eilert-sprac...@t-online.de> wro

Re: [Gambas-user] Closing X in Form event?

2009-09-25 Thread Rolf-Werner Eilert
Dimitris Anogiatis schrieb: > hey Rolf, > > Is it a modal form a normal form or a dialog? It's a modal one > > I think that in normal forms Form_Unload is the event you want but I'm not > entirely sure > could you give us a few more details on what you're trying to do? Well, I can't find Form_

Re: [Gambas-user] How to sent a line line to a lp1 printer and form to lp0 printer directly.

2009-09-25 Thread Doriano Blengino
Vassilis A. Kanatas ha scritto: > Yees!!! > > Gracia Doriano, > Ευχαριστώ Demosthenes > Merci Benoit > > It is done! > > Doriano had right > > I had to add the lp group to the user Vassilis. > I am glad you finally succeded! But, it's my habit (I had to be a teacher), I

Re: [Gambas-user] Closing X in Form event?

2009-09-25 Thread Dimitris Anogiatis
hey Rolf, Is it a modal form a normal form or a dialog? I think that in normal forms Form_Unload is the event you want but I'm not entirely sure could you give us a few more details on what you're trying to do? Regards Dimitris On Fri, Sep 25, 2009 at 3:36 AM, Rolf-Werner Eilert < eilert-sprac.

[Gambas-user] How to sent a line line to a lp1 printer and form to lp0 printer directly.

2009-09-25 Thread Vassilis A. Kanatas
Yees!!! Gracia Doriano, Ευχαριστώ Demosthenes Merci Benoit It is done! Doriano had right I had to add the lp group to the user Vassilis. I also had to put DIM hPrinter AS File !!! After that the correct code for printing 1 line each time is the following: PUBLIC SUB

[Gambas-user] Closing X in Form event?

2009-09-25 Thread Rolf-Werner Eilert
Hi all, which event refers to the closing X of the form? When I use Form_Close the code will be run even when clicking OK (and closing the form). What I want is the same reaction like when clicking the Cancel button without affecting OK. Maybe a stupid question, but 've never had this problem