In this (your) example all runs fine, only I have no pictures in the API_Field_Picture.vdb.
I see in the debuger, I have the 3 pictures, all comands are done inclusive the flush. At end I have the db with the table and the field but all fields are empty.
Is the same in debug mode as in the compiled mode. The comands show good as I can see in the helps. But whan can be the problem?