[Zope] calling a subquery

2000-07-25 Thread danchik

Is it possible to refer to ZSQL method from some other ZSQL method and
how???

each ZSQL is big and would be very expensive to put as a subquery of another
so can I do something like this:

say one is named ZSQL1: Select Mykey from Data where key  100
and the other is ZSQL2: Select * from ZSQL1 INNER JOIN MoreData ON
ZSQL1.Mykey = MoreData.key





___
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 )




[Zope] query parameters

2000-07-24 Thread danchik

how can you pass parameters to the query that is already in the database in
Access(or just any ODBC connection)  from Zsql (or elsewhere)ODBC)?




___
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 )




[Zope-dev] (no subject)

2000-07-14 Thread danchik

if i call a page with some REQUEST variables (submited by form),
how can I pass the namespace variables to the frames??? 





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




[Zope-dev] passing namespace

2000-07-14 Thread danchik

if I submit a form to some page that has frames, how do I pass the
REQUEST namespace to those frames


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




[Zope-dev] is there a way to pass namespace in to the page which is within a page?

2000-07-13 Thread danchik

is there a way to pass namespace in to the page which is within a page?

for example : how can I make this work??? 3 files the top one is the one
that  is suppose to be displayed currently


 the main dtml file has the following
line
dtml-var SomeVar  !-- there is a valid namespace SomeVar and this line
prints it out... --
  !-- the next line works fine with
Number 5, but not if I substitute SomeVar instead of 5 --
dtml-var "Some_Header(style=Some_Style_css(SomeKey=5))"

-
 the Some_header dtml file has the following
lines-
style
--!
dtml-var style
--!
/stile

-
 the Some_Style_css dtml file has the following
lines--
input{ position: relative;

  font-size: dtml-var SomeKey
}

--

Now the whole thing works great.. however, if I attempt to make NUMBER 5
by any variable from REQUEST or the current form
the KeyError comes up : if instead of 5 I put SomeVar (which was
passed to this dtml from some other form) I get "Error Type: KeyError Error
Value: SomeVar"



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




[Zope] Ho do you access parent's parent folders?

2000-07-13 Thread danchik

hi, any one knows how to access methods or queries in the parent's
parent's parent's subfolder?



Root
-Folder1
--Sub1
--My_Qry
--Sub2
---otherfolder
How_to_access_My_Qry_from_Sub1

is there dtml-var parent.parent. type thing??? or do you have to call
the parentobject method and assign it to some object before getting to it?


___
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 )




[Zope] help

2000-07-13 Thread danchik

how can I fix this??


 the main dtml file has the following
line
dtml-var SomeVar  !-- there is a valid namespace SomeVar and this line
prints it out... --
  !-- the next line works fine with
Number 5, but not if I substitute SomeVar instead of 5 --
dtml-var "Some_Header(style=Some_Style_css(SomeKey=5))"

-
 the Some_header dtml file has the following
lines-
style
--!
dtml-var style
--!
/stile

-
 the Some_Style_css dtml file has the following
lines--
input{ position: relative;

  font-size: dtml-var SomeKey
}

--

Now the whole thing works great.. however, if I attempt to make NUMBER 5
by any variable from REQUEST or the current form
the KeyError comes up : if instead of 5 I put SomeVar (which was
passed to this dtml from some other form) I get "Error Type: KeyError Error
Value: SomeVar"



___
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 )