25 Jul
2002
25 Jul
'02
1:32 p.m.
I am beginning to experiment with python scripts and can't seem to find any code examples to do the specific operation I'm trying. To be specific, I want to insert a record into a database by calling a zsql method and passing it 8 individual parameters. Can anyone explain what exactly I'm missing. # my values are all in local variables # a = 'acme widgets' b = 'jet pack' c = '99.99' d = '07-15-2002' e = 'blue' f = '90 day' # I got an error leading me to believe that I can only list 5 parameters. # Is this syntax correct? # insert_object = container.logging_row_insert(company=a,item=b,cost=c,date=d,color=e,warranty =f) return