HI,I have the code:var = oDB xfa.sourceSet.DataConnection.clone (1);oDB.nodes.item (1). query.setAttribute ("text", "CommandType");oDB.nodes.item (1). query.select.nodes.item (0). value = "SELECT * FROM vw_products";oDB.open ();oDB.close ();This code works perfectly if I call in initialize the form....