Re: [Zope] Use of the :records variable type and ZSQL methods

2000-09-26 Thread Rik Hoekstra
Calvin Parker wrote: > > > > Error Type: Bad Request > > > Error Value: ['Field1', 'Field2'] > > > > > > Here is the code I used and sqlTest is the ZSQL Method that > > just inserts the > > > two fields into a test DB: > > > > > > > > > > > > > > > > > > What am I doing wrong? > > > > > > >

RE: [Zope] Use of the :records variable type and ZSQL methods

2000-09-25 Thread Calvin Parker
> > Error Type: Bad Request > > Error Value: ['Field1', 'Field2'] > > > > Here is the code I used and sqlTest is the ZSQL Method that > just inserts the > > two fields into a test DB: > > > > > > > > > > > > What am I doing wrong? > > > > you'll have to feed a named argument to your Zsql method

Re: [Zope] Use of the :records variable type and ZSQL methods

2000-09-25 Thread Rik Hoekstra
> > Error Type: Bad Request > Error Value: ['Field1', 'Field2'] > > Here is the code I used and sqlTest is the ZSQL Method that just inserts the > two fields into a test DB: > > > > > > What am I doing wrong? > you'll have to feed a named argument to your Zsql method (that is in its defin

[Zope] Use of the :records variable type and ZSQL methods

2000-09-24 Thread Calvin Parker
I am trying to take in a form that has multiple records like this: Field1 Field2 Field1 Field2 Field1 Field2 I want to loop through the records on the add_records page. It works fine if I do this and just display them: I get the following error if I try looping it through a ZSQL Meth