On Sep 26, 2009, at 4:44 PM, Ed Leafe wrote:

>       OK, I've had a chance to dig into the code, and I think I know what
> your problem is. Since the replace is happening at the data set level,
> the scope needs to be the column name *only*, not the table.column
> format. So try this:
>
> bizTubes.replace("result", "Invalid", scope="run_no==%s" % ThisRun)
>
>       BTW, I've also notice that the code in replace is very slow and
> inefficient. I'm looking into improving it now.

        While working to speed up the code, I discovered why your earlier  
replace() attempts weren't being persisted to the database. I've fixed  
that, so combined with the suggestion above, you should be able to use  
replace() and still have full functionality with save() and cancel().


-- Ed Leafe





_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/ccdc43d8-4dfb-44a5-976f-e5cf6c771...@leafe.com

Reply via email to