tigreeuropeo
IS-IT--Management
I am writing a program in VB and Oracle using OO4O.
My program tries to add records in a database.
I made a couple of programs using the syntax mydyn.executesql(sentSQL) and it works ok, but now I'm trying to use the methods of the dynaset.
OraSession.BeginTrans
mydyn.addnew
mydyn.fields("product" = txtProduct.text
mydyn.fields("price" = txtPrice.txt
...
.......(Does it need mydyn.update?)
...
OraSession.CommitTrans
The question is if the update is necessary or not?
Excuse me if I'm not an expert at VB....
Thanks in advance
My program tries to add records in a database.
I made a couple of programs using the syntax mydyn.executesql(sentSQL) and it works ok, but now I'm trying to use the methods of the dynaset.
OraSession.BeginTrans
mydyn.addnew
mydyn.fields("product" = txtProduct.text
mydyn.fields("price" = txtPrice.txt
...
.......(Does it need mydyn.update?)
...
OraSession.CommitTrans
The question is if the update is necessary or not?
Excuse me if I'm not an expert at VB....
Thanks in advance