Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OO4O / VB

Status
Not open for further replies.

tigreeuropeo

IS-IT--Management
Oct 2, 2001
30
ES
I'm using dynasets in VB with OO4O.
I have no problems using them, but I don't know how to 'destroy' a dynaset and create it again.

This is the situation:
....
do
artNumber = NextArtToProcess() ' some function ---
SQLsent = "select art, qty from stock " & _
" where art = " & artNumber & " for update"
oracledb.createdynaset(SQLsent, 0&)
....do some processing ....
oracledb.committrans
loop until NoMoreArticles()

On the second loop I execute "odb.createdynaset(..)" there's an error.
I need to destroy the dynaset so I can create it again on the next loop.
Would you help me?.
Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top