[Zope] Psycopg export/import

2005-11-25 Thread William Herring
As part of an object, I have exported several zsql methods from Zope 2.2.2
and imported to Zope 2.6.2.  In the later version I am using Psycopg as a
database connection to Postgres.  It is working fine for all ZSQL methods I
have created within 2.6.2.

However, the methods I imported from Zope 2.2.2 do not connect to the
database.  Message is Warning: The database connection for this method
cannot be found!.  However, the Connection ID is shown and all appears to
be in place.

An ideas?  Thanks in advance.


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Multiple record input into Postgresql

2000-08-10 Thread William Herring

I am new to using Zope, but have been succesfull at using a psql input
wizard to generate forms to dump data to a postgresql table.  However, I

have a dilema.  I would like to generate a form that can dump multiple
inserts to a variable, say x1, into a postgresql table.  However, there
is an additional
variable, x2 that would have to be only entered once and would be the
same
for every record for which a different x1 is entered.  I would like the
user
to enter up to 50 records for x1.  Looking at dtml syntax it seems the
dtml-in should do this.  Could anyone point me to any examples or
provide
some help?




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )