use always the same method. add a few logging lines between those lines of 
code and see for yourself why your code isn't executed....

On Wednesday, September 18, 2013 6:19:21 PM UTC+2, 黄祥 wrote:
>
> sorry, i paste the part for my logic testing.
> db(db.purchase_requisition_header.id==1).update(status='Purchase 
> Requisition Authorized')
> should be :
> db(db.purchase_requisition_header.id==row_header.purchase.purchase_requisition_no).update(status='Purchase
>  
> Requisition Authorized')
>
> at first i use :
> db(db.purchase_requisition_header.id==row_header.purchase.purchase_requisition_no).update(status='Purchase
>  
> Requisition Authorized')
> because the output is not expected, when using variable 
> (row_header.purchase_requisition_no), so that i put the value (1) for 
> testing purpose, yet, the result is not expected (no error occured, just 
> not update the other tables).
>
> best regards,
> stifan
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to