Re: [dabo-users] Where to catch BusinessRuleViolation

2009-10-26 Thread John
On Monday 26 October 2009 06:23:25 am Ed Leafe wrote: try: myBiz.validateUserInput(val) except dException.BusinessRuleViolation, e: dabo.ui.stop(Invalid entry: %s % e) It's a much more Pythonic approach, and keeps the UI separate from   the bizobj layer logic I have

Re: [dabo-users] Where to catch BusinessRuleViolation

2009-10-26 Thread John
On Monday 26 October 2009 09:18:02 am Paul McNett wrote: John wrote: On Monday 26 October 2009 06:23:25 am Ed Leafe wrote: try: myBiz.validateUserInput(val) except dException.BusinessRuleViolation, e: dabo.ui.stop(Invalid entry: %s % e) It's a much more

[dabo-users] Dabo in a pgWest blog

2009-10-22 Thread John
Below is a little of the blog by Gabrielle Roth that mementions Dabo. http://www.baconandtech.com/2009/10/19/pgwest-saturday/ So, right out of the gate at PgWest, I’m in a python talk* – Adrian K’s (of LinuxFestNW fame) discussion on Dabo. Dabo’s a python desktop framework; I program

Re: [dabo-users] SSL Database Connections

2009-10-21 Thread John
Video was being taken, when it will be released I do not know. I'll be looking forward to the video. Johnf ___ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives:

Re: [dabo-users] is there a trick with dSecurityManager

2009-10-20 Thread John
On Monday 19 October 2009 09:18:58 pm Paul McNett wrote: John wrote: I have been playing with dSecurityManager. And I have it sort of working but I wonder if there is a way to NOT display the form behind the login dialog. I guess there wasn't a good way, so update to r5476 and then: cd

Re: [dabo-users] is there a trick with dSecurityManager

2009-10-20 Thread John
On Tuesday 20 October 2009 01:57:03 pm Paul McNett wrote: John wrote: I'm having trouble working with the new code. 1. there is a blank form that appears behind the login dialog. Not a beig deal if I can close it - at least hide it. You even see a blank form behind the login dialog when

Re: [dabo-users] SSL Database Connections

2009-10-20 Thread John
On Tuesday 20 October 2009 04:35:32 pm David Henry wrote: Hi, I am new to the list. Does Dabo support PostgreSQL or MySQL SSL connections? I didn't see this option on the Connection Manager. Thanks, David I can say that the connection string does not pass the SSL setting for Postgres

Re: [dabo-users] SSL Database Connections

2009-10-20 Thread John
On Tuesday 20 October 2009 06:57:11 pm David Henry wrote: Thanks John, It will be a couple days before I get a chance to look at it further. I am in the process of migrating tables, triggers and views from MySQL. It would be nice to have this option if it is allowed by the client. I

Re: [dabo-users] SSL Database Connections

2009-10-20 Thread John
) So it looks fairly straight forward. -David On Oct 20, 2009, at 8:17 PM, John wrote: On Tuesday 20 October 2009 04:35:32 pm David Henry wrote: Hi, I am new to the list. Does Dabo support PostgreSQL or MySQL SSL connections? I didn't see this option on the Connection Manager

Re: [dabo-users] SSL Database Connections

2009-10-20 Thread John
On Tuesday 20 October 2009 07:49:32 pm Adrian Klaver wrote: Basically Postgres takes care of it. The only role Psycopg plays is to set the ssl mode of the connection Very cool! I setup the setting tomorrow - one glass of wine and it's late. BTW will we get to see your presentation on the web

[dabo-users] is there a trick with dSecurityManager

2009-10-19 Thread John
Hi, I have been playing with dSecurityManager. And I have it sort of working but I wonder if there is a way to NOT display the form behind the login dialog. IOW I'd like the login dialog to popup get a good login and then display the form otherwise fail to open the form. I'm using the

Re: [dabo-users] confirmChanges - gives an error

2009-10-16 Thread John
On Friday 16 October 2009 05:00:32 pm John wrote: I have a single table form. I have made changes in the controls and I have issued a Form.requery(). The do you want save your changes appears and I click on yes. Then I get: self.Form.requery() File /home/johnf/dabo/dabo/ui/uiwx

[dabo-users] confirmChanges - gives an error

2009-10-16 Thread John
I have a single table form. I have made changes in the controls and I have issued a Form.requery(). The do you want save your changes appears and I click on yes. Then I get: self.Form.requery() File /home/johnf/dabo/dabo/ui/uiwx/dForm.py, line 476, in requery if not

Re: [dabo-users] Python 2.6

2009-10-15 Thread John
On Thursday 15 October 2009 07:34:28 am Nate Lowrie wrote: On Wed, Oct 14, 2009 at 17:30, John jfabi...@yolo.com wrote: On Wednesday 14 October 2009 01:45:58 pm Paul McNett wrote: I have yet to begin testing Dabo on Python 2.6. Are people up and running on Python 2.6 with Dabo or are you

Re: [dabo-users] strange diff between linux and windows with SQLite

2009-10-15 Thread John
On Thursday 15 October 2009 08:18:05 am Adrian Klaver wrote: On Wednesday 14 October 2009 5:56:39 pm John wrote: Good question, on Linux I usually just use symlinks. For the moment though that may not be necessary, my Linux machine is using 3.3.10 and working like your Linux instance. I

Re: [dabo-users] strange diff between linux and windows with SQLite

2009-10-15 Thread John
On Thursday 15 October 2009 09:02:17 am Adrian Klaver wrote: I am doing a presentation, if its a showing as a tutorial I have more work to do:) Sorry if I used the wrong word. I actually don't recall what I read just that your name was associated with it. Johnf

[dabo-users] traceback opening ClassDesigner

2009-10-15 Thread John
openSUSE 11.0 python 2.5 wxPython 2.8.10 Traceback (most recent call last): File /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py, line 14614, in lambda lambda event: event.callable(*event.args, **event.kw) ) File /home/johnf/dabo/dabo/ui/uiwx/dFormMixin.py, line 187, in

Re: [dabo-users] Python 2.6

2009-10-14 Thread John
On Wednesday 14 October 2009 01:45:58 pm Paul McNett wrote: I have yet to begin testing Dabo on Python 2.6. Are people up and running on Python 2.6 with Dabo or are you waiting for Dabo to announce support for it? Paul I have been waiting although I did limited testing several months ago.

Re: [dabo-users] strange diff between linux and windows with SQLite

2009-10-14 Thread John
On Wednesday 14 October 2009 02:51:07 pm Adrian Klaver wrote: On Tuesday 13 October 2009 2:11:28 pm John wrote: On Tuesday 13 October 2009 01:34:08 pm Adrian Klaver wrote: On Tuesday 13 October 2009 12:18:10 pm John wrote: OK I think Larry has discovered the problem but not the solution

Re: [dabo-users] ReportDesigner segfault

2009-10-14 Thread John
On Wednesday 14 October 2009 03:40:07 pm Carl Karsten wrote: import wx wx.__file__ '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/__init__.pyc' wx.version() '2.8.9.1 (gtk2-unicode)' You need to update your wxPython to 2.8.10.x. I followed the instructions at

Re: [dabo-users] ReportDesigner segfault

2009-10-14 Thread John
On Wednesday 14 October 2009 03:46:37 pm Paul McNett wrote: Carl: can you try changing to Python 2.5.x and see if the recursion/segfault goes away? Others running Python 2.6.x: can you try running dabo/ide/ReportDesigner.py and see if you can reproduce the segfault? Paul I think if carl

Re: [dabo-users] ReportDesigner segfault

2009-10-14 Thread John
On Wednesday 14 October 2009 04:04:12 pm Paul McNett wrote: John wrote: On Wednesday 14 October 2009 03:46:37 pm Paul McNett wrote: Carl: can you try changing to Python 2.5.x and see if the recursion/segfault goes away? Others running Python 2.6.x: can you try running dabo/ide

Re: [dabo-users] strange diff between linux and windows with SQLite

2009-10-14 Thread John
On Wednesday 14 October 2009 05:47:14 pm Adrian Klaver wrote: On Wednesday 14 October 2009 3:00:34 pm John wrote: On Wednesday 14 October 2009 02:51:07 pm Adrian Klaver wrote: On Tuesday 13 October 2009 2:11:28 pm John wrote: On Tuesday 13 October 2009 01:34:08 pm Adrian Klaver wrote

[dabo-users] strange diff between linux and windows with SQLite

2009-10-13 Thread John
Hi, Maybe this old hat for others but I have run into a strange difference between Linux and Windows when selecting data from a dataset as in newdata = sessds.execute(select sessionid, miles, facility,began,ended,totalseats from dataset group by 1 order by 2) In the above select statement

Re: [dabo-users] strange diff between linux and windows with SQLite

2009-10-13 Thread John
On Tuesday 13 October 2009 11:40:58 am Paul McNett wrote: John wrote: Hi, Maybe this old hat for others but I have run into a strange difference between Linux and Windows when selecting data from a dataset as in newdata = sessds.execute(select sessionid, miles, facility,began,ended

Re: [dabo-users] strange diff between linux and windows with SQLite

2009-10-13 Thread John
On Tuesday 13 October 2009 12:09:55 pm John wrote: On Tuesday 13 October 2009 11:40:58 am Paul McNett wrote: John wrote: Hi, Maybe this old hat for others but I have run into a strange difference between Linux and Windows when selecting data from a dataset as in newdata

Re: [dabo-users] strange diff between linux and windows with SQLite

2009-10-13 Thread John
On Tuesday 13 October 2009 12:21:10 pm Adrian Klaver wrote: On Tuesday 13 October 2009 12:09:55 pm John wrote: On Tuesday 13 October 2009 11:40:58 am Paul McNett wrote: John wrote: Hi, Maybe this old hat for others but I have run into a strange difference between Linux

Re: [dabo-users] strange diff between linux and windows with SQLite

2009-10-13 Thread John
On Tuesday 13 October 2009 01:34:08 pm Adrian Klaver wrote: On Tuesday 13 October 2009 12:18:10 pm John wrote: OK I think Larry has discovered the problem but not the solution. Drop the 'group by' and the select returns dates instead of string. Also if 'DISTINCT' is use and not 'GROUP

Re: [dabo-users] Background

2009-10-12 Thread John
On Monday 12 October 2009 08:09:30 am jpoorra...@aol.com wrote: Jeff,   FWIW, we fooled around with this question, trying to get MDI to work with   background images on the main form. Like you, I think, we were looking for a VFPish interface where everything is contained in a main window. We

Re: [dabo-users] rich vs. web

2009-10-12 Thread John
On Monday 12 October 2009 02:06:51 pm Ed Leafe wrote: Maybe it's just me, but I find even the advanced UIs of toolkits such   as jQuery or ExtJS to be passable, but gravely lacking compared to   OSX, Gnome or KDE. And to do that stuff in browsers, you're stuck with   Javascript. I guess I'm

Re: [dabo-users] rich vs. web

2009-10-12 Thread John
On Monday 12 October 2009 03:39:44 pm Ed Leafe wrote: On Oct 12, 2009, at 5:13 PM, John wrote: What is your opinion of Pyjamas? I have not used it yet but was considering using it to create the UI for a website. Is it better from a python point of view? Or would one be better off

Re: [dabo-users] scope on replace.

2009-09-19 Thread John
On Saturday 19 September 2009 09:40:54 am jpoorra...@aol.com wrote: Still having problems with this. Does anyone know the proper way to pass a scope to the bizobj replace method? Thanks, Jonathan Check out dDataSet.py. Take a look at _fldReplace(). I haven't had a need to use replace

Re: [dabo-users] Interesting read.

2009-09-18 Thread John
On Friday 18 September 2009 06:46:49 am Paul McNett wrote: Paul McNett wrote: Roger Gammans wrote: It is a difficult issue, and isinstance is a easy crutch to fall into using , and I'm sure parts of my own code suffer from this as well. Patches are welcome! :) Specifically, if

Re: [dabo-users] Interesting read.

2009-09-18 Thread John
On Friday 18 September 2009 07:54:55 am Paul McNett wrote: John wrote: If the developer is moving from VFP it maybe easier to understand or read. But as the developer becomes used to reading python I see the opposite effect. Why does VFP have anything to do with this? Shorter strings

[dabo-users] the correct way to close a dialog

2009-09-17 Thread John
Hi, What is the correct way to close a dialog in code? I have a new issue with a dialog causing a seg fault. I've run into this in the past and would like to know the correct way to clo I have a button that calls _reschedCancel. The dialog X calls onClose(). My code does the following:

Re: [dabo-users] the correct way to close a dialog

2009-09-17 Thread John
On Thursday 17 September 2009 11:05:36 am Paul McNett wrote: John wrote: What is the correct way to close a dialog in code? I think the best-practice way (and what I do) is to let the calling program release the dialog from memory (or save the reference somewhere if desired). So the calling

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread John
On Monday 14 September 2009 05:52:32 pm Jeff Johnson wrote: Ed: For background on this, I created an app with the appwizard using PostgreSQL and was using the command window to create a connection to the MsSQL database with no problems. I wanted some code from an app built on the MsSQL

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread John
On Tuesday 15 September 2009 01:56:02 pm Jeff Johnson wrote: John: Yes. In order to comment out the lines Ed mentioned I had to get a Dabo pymssql.py. The error appears to be with code that has worked for a very long time. There has to be something different. I'm just wondering where/what

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread John
On Tuesday 15 September 2009 04:26:35 pm Jeff Johnson wrote: Adrian Klaver wrote: On Tuesday 15 September 2009 4:07:15 pm Jeff Johnson wrote: 3) How are passing the connection information into your hand coded app ? app.dbConnection = app.getConnectionByName(SanDC MsSQL) Is there a

Re: [dabo-users] MDI configuration

2009-09-14 Thread John
On Monday 14 September 2009 09:03:36 am Paul McNett wrote: John wrote: I did a little testing and quickly discovered the MDI does not work under Linux. How could I have forgotten? I also reviewed the discussion on the list. There are troubles with MDI under windows too. Apparently

Re: [dabo-users] MDI configuration

2009-09-14 Thread John
On Monday 14 September 2009 09:06:36 am Paul McNett wrote: The cdxml machinery doesn't know, and doesn't care, whether dabo.settings.MDI is True or False. I don't understand. Does not the dabo.ui.createForm in fact create a frame? Does not that frame have to be a wx.MDIChildFrame to work

Re: [dabo-users] MDI configuration

2009-09-14 Thread John
On Monday 14 September 2009 08:24:05 am John wrote: On Monday 14 September 2009 08:09:13 am Ed Leafe wrote:  But if you design a main form, and then turn MDI on in your app,   child forms of that main form will be shown in standard MDI style; it   makes no difference if they are hand-coded

Re: [dabo-users] MDI configuration

2009-09-14 Thread John
On Monday 14 September 2009 08:09:13 am Ed Leafe wrote:  But if you design a main form, and then turn MDI on in your app,   child forms of that main form will be shown in standard MDI style; it   makes no difference if they are hand-coded or .cdxml forms. That is good to know. If I understand

Re: [dabo-users] MDI configuration

2009-09-14 Thread John
On Monday 14 September 2009 07:17:41 am jpoorra...@aol.com wrote: Of course if you hand coded the forms (not very hard) you could use both the wx.MDIParentFrame and wx.MDIChildFrame to subclass from. Doing so will allow all the Dabo features to work. John, we're interesting

Re: [dabo-users] MDI configuration

2009-09-14 Thread John
On Monday 14 September 2009 09:39:38 am Paul McNett wrote: John wrote: I confirm the problem on Linux. It seems I have been down this road in the past. I guess I don't learn. I have always want to provide the MDI (as an option) but I realized it did not work on Linux. That is why our

Re: [dabo-users] Choice of Database (was: Design Question)

2009-09-14 Thread John
On Monday 14 September 2009 01:40:18 pm Henning Hraban Ramm wrote: Am 2009-09-13 um 22:07 schrieb John: I've a lot of experience with MySQL and a bit with SQLite. After all the praise for PostgreSQL on this list I tried to use it when I recently set up a new webserver. After searching

Re: [dabo-users] AppWizard Irregularity

2009-09-14 Thread John
On Monday 14 September 2009 06:02:56 pm Ed Leafe wrote: On Sep 14, 2009, at 7:46 PM, Jeff Johnson wrote: DBQueryException: pymssqlCnx instance has no attribute 'errmsg' Hmmm... that message is passed on to the connection object, but there is no such method in that class. Can

Re: [dabo-users] Design Question

2009-09-13 Thread John
On Saturday 12 September 2009 12:08:54 pm Jeff Johnson wrote: I would like to express an opinion regarding MSSql vs. PostgreSQL just in case someone might be interested.  I created two databases based on an actual MSSql database that I will be pulling from in production.  One in MSSql and one

Re: [dabo-users] Choice of Database (was: Design Question)

2009-09-13 Thread John
On Sunday 13 September 2009 12:45:37 pm Henning Hraban Ramm wrote: After searching the docs and the Internets for a while I had to   conclude that PostgreSQL doesn't allow to use different text encodings   (collations) for different tables - even worse, the encoding is hard- compiled, and

Re: [dabo-users] Design Question

2009-09-13 Thread John
On Sunday 13 September 2009 02:04:32 pm Jeff Johnson wrote: John:  I don't know if you noticed but I was talking about Microsoft SQL Server.  I have not used MySQL because the licensing confused me and didn't seem to be a fit for my customers. Just thinking about the other popular DB's. So I

Re: [dabo-users] Design Question

2009-09-12 Thread John
On Saturday 12 September 2009 07:17:46 am Jeff Johnson wrote: John wrote: On Friday 11 September 2009 07:03:07 pm Jeff Johnson wrote: I am using Dabo to access a MSSQL Server and a PostgreSQL Server. It was pretty easy to get two connections going. PostgreSQL is my app connection

Re: [dabo-users] Design Question

2009-09-12 Thread John
On Saturday 12 September 2009 09:26:34 am Ed Leafe wrote: On Sep 11, 2009, at 9:03 PM, Jeff Johnson wrote: I am using Dabo to access a MSSQL Server and a PostgreSQL Server. It was pretty easy to get two connections going. PostgreSQL is my app connection. Is it possible to do a select

Re: [dabo-users] Design Question

2009-09-12 Thread John
On Saturday 12 September 2009 10:29:04 am Ed Leafe wrote: There is no arbitrary limit. It's memory limited. Thanks Johnf ___ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable

Re: [dabo-users] MDI configuration

2009-09-11 Thread John
On Friday 11 September 2009 02:07:07 pm jpoorra...@aol.com wrote: Still trying to work this out. From earlier threads, I see that for MDI to work, the forms called from my main form must be children of the mainform. What I can't figure out is how we can make forms created in the

Re: [dabo-users] Design Question

2009-09-11 Thread John
On Friday 11 September 2009 07:03:07 pm Jeff Johnson wrote: I am using Dabo to access a MSSQL Server and a PostgreSQL Server. It was pretty easy to get two connections going. PostgreSQL is my app connection. Is it possible to do a select statement on a table from a database in one

Re: [dabo-users] Springboard EOF Error

2009-09-10 Thread John
On Thursday 10 September 2009 05:31:13 am she...@umbc.edu wrote: I modified the Remote Connect file to write and read the server manifest as binary files and the problem appears fixed. Just wanted to let you all know. Thanks. How about posting the fix? Johnf

Re: [dabo-users] Sorting in the grid

2009-09-10 Thread John
On Thursday 10 September 2009 07:08:29 am Ed Leafe wrote:   I think that this falls under the header of silently failing. They   broke something, but it doesn't manifest itself right away. When it   does, a question is posted, an answer is found, and the developer now   understands better how

Re: [dabo-users] PyCon 2010 - Call for Tutorials

2009-09-09 Thread John
On Wednesday 09 September 2009 11:02:43 am Jeff Johnson wrote: When I get there I will definitely volunteer to give a presentation. Maybe others will be willing to do the same.  I also think giving presentations at VFP user groups is a good idea because of the receptive audience. I think we

Re: [dabo-users] PyCon 2010 - Call for Tutorials

2009-09-08 Thread John
On Tuesday 08 September 2009 07:44:16 am Ed Leafe wrote: On Sep 8, 2009, at 9:40 AM, Nate Lowrie wrote: I think it would be nice to do an overview of Dabo and walk people through creating a database driven application. Here would be an interesting example: Thanks, but that's sort

Re: [dabo-users] Design Question - Follow Up

2009-09-08 Thread John
with schema.table. Pretty slick once you get the hang of it. Thanks everyone for your help. John wrote: On Saturday 05 September 2009 07:54:04 am Jeff Johnson wrote: Ed: Thanks for looking this up. I have been fighting with pg_dump all day. It is not perfect. It creates several lines

[dabo-users] How to add a 'distinct'

2009-09-08 Thread John
Hi, Using standard Dabo bizObject and not using a UserSQL how can I add a 'Distinct' to the bizobj. select distinct b.pkid , b.lname,b.fname , d.name_1 from esattend a left join esclient b on b.pkid = a.clientid left join esenroll c on a.enrollid = c.pkid left join escourse d on d.pkid =

Re: [dabo-users] How to add a 'distinct'

2009-09-08 Thread John
On Tuesday 08 September 2009 02:57:29 pm Paul McNett wrote: Paul McNett wrote: When do you need DISTINCT? I've written tons of SQL over the past 15 years and have never found the need for it. Specifically, what is the benefit of using DISTINCT over GROUP BY? Paul How would re-write the

Re: [dabo-users] How to add a 'distinct'

2009-09-08 Thread John
On Tuesday 08 September 2009 04:34:00 pm Ed Leafe wrote: select b.pkid , b.lname,b.fname , d.name_1 from esattend a left join esclient b on b.pkid = a.clientid left join esenroll c on a.enrollid = c.pkid left join escourse d on d.pkid = c.fk_escourse where a.sessionid = 4596 group by

Re: [dabo-users] How to add a 'distinct'

2009-09-08 Thread John
On Tuesday 08 September 2009 04:36:14 pm Paul McNett wrote: John wrote: On Tuesday 08 September 2009 02:57:29 pm Paul McNett wrote: Paul McNett wrote: When do you need DISTINCT? I've written tons of SQL over the past 15 years and have never found the need for it. Specifically, what

Re: [dabo-users] Show records by foreign key

2009-09-06 Thread John
On Sunday 06 September 2009 03:33:23 am Emanuele Gesuato wrote: Here is what i'm trying to do. I have two bizobjs: articoli and tipologie. In the grid of articoli i want to show the description of tipologie. The datastructure of articoli table: self.DataStructure = (

Re: [dabo-users] Design Question

2009-09-05 Thread John
On Saturday 05 September 2009 07:54:04 am Jeff Johnson wrote: Ed: Thanks for looking this up. I have been fighting with pg_dump all day. It is not perfect. It creates several lines that are not understood when creating the new schema (syntax errors) and I don't know enough yet to fix all

Re: [dabo-users] Grid events

2009-09-05 Thread John
On Saturday 05 September 2009 03:40:44 pm Ricardo Aráoz wrote: Ed Leafe wrote: On Sep 5, 2009, at 3:18 PM, Ricardo Aráoz wrote: Two questions here : 1 - Is there a row change event for the grid? (looked it up in the api documentation but couldn't find it) 2 - The table has two fields

Re: [dabo-users] Grid events

2009-09-05 Thread John
On Saturday 05 September 2009 04:09:10 pm John wrote: self.addJoin('Sector b', 'OpMejora.FKDestino = a.PKId', joinType='Left') Opps should be: self.addJoin('Sector b', 'OpMejora.FKDestino = b.PKId', joinType='Left') Johnf ___ Post Messages to: Dabo

Re: [dabo-users] dDateTextBox special keys not working correctly

2009-09-04 Thread John
On Thursday 03 September 2009 07:10:32 pm John wrote: On Thursday 03 September 2009 07:03:43 pm Paul McNett wrote: John wrote: Look like Larry discovered the issue. Line 240 of dDateTextBox.py if orig is None: if isDateTime: self.Value

Re: [dabo-users] Calling forms created with class designer

2009-09-04 Thread John
On Friday 04 September 2009 12:22:26 pm jpoorra...@aol.com wrote: Dabo ones. We're back to trying to integrate forms together using a menu, and we're up against a number of obstacles. Last Friday Ed, Paul and John had helpful suggestions on how to proceed, but we're not quite getting

[dabo-users] dDateTextBox special keys not working correctly

2009-09-03 Thread John
Hi, When using ('-','+', 'T') keys they do not appear to work correctly. There maybe other keys too. The date is in fact placed into the control Value but the data field for the record is not being updated correctly. I have a dDateTextBox control (RegID = 'enrolldate',DataSource =

Re: [dabo-users] dDateTextBox special keys not working correctly

2009-09-03 Thread John
On Thursday 03 September 2009 04:00:51 pm John wrote: Hi, When using ('-','+', 'T') keys they do not appear to work correctly. There maybe other keys too. The date is in fact placed into the control Value but the data field for the record is not being updated correctly. I have

Re: [dabo-users] dDateTextBox special keys not working correctly

2009-09-03 Thread John
On Thursday 03 September 2009 07:03:43 pm Paul McNett wrote: John wrote: Look like Larry discovered the issue. Line 240 of dDateTextBox.py if orig is None: if isDateTime: self.Value = datetime.datetime.now() else

Re: [dabo-users] Design Question

2009-08-29 Thread John
On Friday 28 August 2009 02:14:46 pm Jeff Johnson wrote: Ed, Paul John: Thanks for your input. I have another question about PostgreSQL, do you need to close the connection when you are done? Yes. However, to be honest I don't worry about it much as I'm using a Dabo front end. Johnf

Re: [dabo-users] Dabo, Ubuntu Jaunty and python versions

2009-08-29 Thread John
On Friday 28 August 2009 05:32:57 pm Ricardo Aráoz wrote: Hi, I realize this has been addressed before and yet it is not really clear to me. Jaunty comes with 2.6 installed, and apparently Dabo should use 2.5. Now I can't uninstall 2.6 as many apps in my system depend on it. So my problem is

Re: [dabo-users] putting together an app

2009-08-28 Thread John
On Thursday 27 August 2009 03:06:10 pm jpoorra...@aol.com wrote: And furthermore, how would we substitute our own forms created in the CD,   since these are not python code but rather cdxml? Can we use the   dabo.ui.createForm function somehow?     And as a more general question, what's the

Re: [dabo-users] Design Question

2009-08-28 Thread John
On Friday 28 August 2009 10:28:27 am Jeff Johnson wrote: Greetings: I am putting together a procedure to read MSSql data and write to a PostGreSQL table. The PostGreSQL table will be massaged and reformatted to their final tables. The process will be done daily or weekly and involve no more

Re: [dabo-users] Report Designer problem

2009-08-25 Thread John
On Friday 21 August 2009 08:58:25 am lalo...@charter.net wrote: I've narrowed it down to ClassDesignerPropSheet.py. It's trying to get the properties dictionary, but it's empty. See the prop item of the dictionary shown below but there's nothing there ( i.e. prop='' ) ({'readonly': True,

Re: [dabo-users] Dataset question

2009-08-25 Thread John
On Tuesday 25 August 2009 01:16:15 pm Adrian Klaver wrote: - lalo...@charter.net wrote: I have a dataset that i want to remove records from. I issued... myds.execute('delete from dataset where id=whatever) I then ran myds.execute('select * from dataset) and the values were

Re: [dabo-users] Dataset question

2009-08-25 Thread John
On Tuesday 25 August 2009 01:57:09 pm Ed Leafe wrote: On Aug 25, 2009, at 12:06 PM, lalo...@charter.net lalo...@charter.net wrote: I have a dataset that i want to remove records from. I issued... myds.execute('delete from dataset where id=whatever) I then ran

Re: [dabo-users] Dataset question

2009-08-25 Thread John
On Tuesday 25 August 2009 03:18:52 pm Ed Leafe wrote: On Aug 25, 2009, at 5:41 PM, John wrote: First the fix. reportDS=dDataSet(reportDS.execute('select * from dataset')) This is redundant. The execute() method returns a dDataSet. No need to wrap it in yet another layer of dDataSet

Re: [dabo-users] Event processing runtime error

2009-08-18 Thread John
On Tuesday 18 August 2009 11:25:35 am Nate Lowrie wrote: Ed Leafe wrote: Since you are moving the bizobj record pointer when you select nodes on the tree, it probably would make sense to check for pending changes before doing the seek. I moved the save into the TreeSelection menu.

Re: [dabo-users] Event processing runtime error

2009-08-17 Thread John
On Monday 17 August 2009 09:13:23 am Nate Lowrie wrote: On Mon, Aug 17, 2009 at 10:37, Ed Leafee...@leafe.com wrote:        That sounds like correct behavior to me. Something else has to get focus before a control can lose focus. I guess that makes sense. I was thinking that the event

Re: [dabo-users] Event processing runtime error

2009-08-17 Thread John
On Monday 17 August 2009 09:43:21 am Ed Leafe wrote: On Aug 17, 2009, at 12:30 PM, John wrote: I don't recall what it is called but is there an order that events fire? IOW is there a list of the order. I don't know about a formal list, but the names GotFocus and LostFocus are past

Re: [dabo-users] Event processing runtime error

2009-08-17 Thread John
On Monday 17 August 2009 10:49:48 am Ed Leafe wrote: On Aug 17, 2009, at 12:51 PM, John wrote: Yes I recall the discussion. I was hoping there might be something I could count on some order. The other day I ran across an instance where I wanted to bind two events to a click

Re: [dabo-users] More on passing information between forms

2009-08-13 Thread John
On Thursday 13 August 2009 03:25:58 pm Steve Rose wrote: I am trying to design a child search form called from a parent form. I have been able to design a dialog form to which I can pass the parent form's bizojb and I can get return values from the dialog back to the parent form. The parent

Re: [dabo-users] passing information between forms

2009-08-12 Thread John
On Wednesday 12 August 2009 07:14:23 am Nate Lowrie wrote: I agree on the control. I tend to favor #3 the most but tend to decouple by passing the appropriate bizobj objects into the dialog through the constructor. My thoughts on this are that my models for standard things like customers

Re: [dabo-users] Bizobj and SQL limit clause

2009-08-12 Thread John
On Wednesday 12 August 2009 09:03:25 am jpoorra...@aol.com wrote: Examining an app created with the dabo AppWizard, we noticed that Show SQL menu option displays SQL that includes a limit clause (limit 1000). I checked the bizobj in the bz directory, and there is a self.setLimitClause(500)

Re: [dabo-users] How to align a textbox on a Toolbar

2009-08-12 Thread John
On Wednesday 12 August 2009 03:21:52 pm Ed Leafe wrote: On Aug 12, 2009, at 2:51 PM, Miguel Lopes wrote: I've been looking for a way to accomplish this. My goal was/is to have a bunch of toolbar items starting from the left side of the toolbar (this is trivial), and then to have a textbox

Re: [dabo-users] How to align a textbox on a Toolbar

2009-08-12 Thread John
On Wednesday 12 August 2009 03:51:15 pm John wrote: On Wednesday 12 August 2009 03:21:52 pm Ed Leafe wrote: On Aug 12, 2009, at 2:51 PM, Miguel Lopes wrote: I've been looking for a way to accomplish this. My goal was/is to have a bunch of toolbar items starting from the left side

Re: [dabo-users] okCancelDialog

2009-08-11 Thread John
On Tuesday 11 August 2009 04:47:28 pm jpoorra...@aol.com wrote: What happens if you release the dialog before displaying the infobox? Paul No change. Happened also with Cancel button, which didn't display infobox. Do you get this behavior in other platforms? Jonathan I never seen

Re: [dabo-users] okCancelDialog

2009-08-11 Thread John
On Tuesday 11 August 2009 05:16:14 pm jpoorra...@aol.com wrote: In a message dated 8/11/2009 7:51:22 P.M. Eastern Daylight Time, jfabi...@yolo.com writes: I never seen the behavior on windows or Linux. Johnf FWIW, I'm on Windows XP, Python 2.5, and dabo version: {'file_revision':

Re: [dabo-users] okCancelDialog

2009-08-11 Thread John
On Tuesday 11 August 2009 07:02:27 pm jpoorra...@aol.com wrote: In a message dated 8/11/2009 9:18:57 P.M. Eastern Daylight Time, p...@ulmcnett.com writes: Paul McNett wrote: jpoorra...@aol.com wrote: I changed the line that calls the dialog: from : dlg =

Re: [dabo-users] okCancelDialog

2009-08-11 Thread John
On Tuesday 11 August 2009 07:20:46 pm John wrote: On Tuesday 11 August 2009 07:02:27 pm jpoorra...@aol.com wrote: In a message dated 8/11/2009 9:18:57 P.M. Eastern Daylight Time, p...@ulmcnett.com writes: Paul McNett wrote: jpoorra...@aol.com wrote: I changed the line that calls

Re: [dabo-users] will this work for a Mac?

2009-08-10 Thread John
On Monday 10 August 2009 01:09:50 pm Henning Hraban Ramm wrote: Am 2009-08-09 um 16:00 schrieb John: I created a pth file to point to the uno.py folder and it works for me. That will be my suggestion to the reader instead of helping them find the file. I suggest to pop up a dialog

Re: [dabo-users] will this work for a Mac?

2009-08-09 Thread John
On Saturday 08 August 2009 11:52:19 pm Paul McNett wrote: Ed Leafe wrote: On Aug 8, 2009, at 10:07 PM, Paul McNett wrote: Not necessarily all dependencies. A bundle could use the system python instead of bundling a specific python, for example. True, but specific modules, such as

Re: [dabo-users] How to stop control getting focus

2009-08-09 Thread John
On Sunday 09 August 2009 07:39:10 pm Manoharan Durga wrote: I have a form in which there is a button. During data entry, I don't want the focus shifting automatically to this button, but if it is clicked with mouse, then the function given in its onHit event should occur. So, I have made the

Re: [dabo-users] Difference between ListBox and ListControl

2009-08-09 Thread John
On Sunday 09 August 2009 07:42:41 pm Manoharan Durga wrote: I need to create a list of all the possible registered customers, from which the user can choose only one. I was wondering whether to use a ListBox or ListControl. Is there any specific issue that needs to be considered while

Re: [dabo-users] call dialog from button onHit

2009-08-08 Thread John
On Saturday 08 August 2009 09:31:45 am jpoorra...@aol.com wrote: What I'm really after is how to piece together an application. We're   longtime VFP programmers, and what I'm trying to figure out is very basic: how   to call one form from another, using your Class Designer. In VFP, the click

[dabo-users] will this work for a Mac?

2009-08-08 Thread John
I'm writing an article for the wiki and was wondering if the below code will work on a Mac to find the file 'uno.py'. import os myflag = False for direct in os.walk('/usr'): for wds in direct[1]: pathlist = '/usr/' + wds for x in os.walk(pathlist): for fn in

<    4   5   6   7   8   9   10   >