>>> mybug.Field("BG_DESCRIPTION")= "123"
SyntaxError: can't assign to function call

On 5/15/07, Tim Roberts <[EMAIL PROTECTED]> wrote:
> Michael March wrote:
> > Here is another example in context:
> >
> >>>> mybug.Field("BG_DESCRIPTION")
> >>>>
> > u'Test Set: Mercury Tours UI\nTest: [1]Welcome Page\nRun: 
> > Run_9-11_11-43-36\nSte
> > p: Forms\n\nDescription:\nCheck the forms on the page:\n    - Input fields\n
> > - Lists\n    - Radio buttons\n    - Checkboxes\n\nExpected result:\n1. The 
> > input
> >  fields should be left aligned.\n2.'
> >
> >
> >>>> mybug.Field("BG_DESCRIPTION").Value = "123"
> >>>>
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> > AttributeError: 'unicode' object has no attribute 'Value'
> >
>
> The "Value" suggestion was clearly bad advice on my part.  What do you
> get if you just do this:
>     mybug.Field("BG_DESCRIPTION") = "123'
>
> --
> Tim Roberts, [EMAIL PROTECTED]
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>


-- 
<admiral>

Michael F. March ----- [EMAIL PROTECTED]
Ph: (415)462-1910 ---- Fax: (602)296-0400
P.O. Box 2254 ---- Phoenix, AZ 85002-2254
          "Seriously" - HSR
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to