|
-
May 21st, 2000, 10:46 AM
#1
Thread Starter
Member
When recordcount is -1 you must be using ADO.
you should use count(*) query to count the records.
if count=0 then
do something
else if
do some thing
end if
thanks
karun
-
May 22nd, 2000, 06:51 AM
#2
New Member
thanks to those who replied.
much appreciated.
i am using ado.
come to think of it, i think i was using a forward only cursor. that would explain alot.
shouldnt you be able to return the number of records affect using some form of the following statement as well
adoconnection.execute strSQL,numofrecsaffected
if so, the cursor shouldn't be forward only???
i am fairly new with ado and extremely new to oracle, just in case anyone was wondering.
Thanks!!!
akaLinus
VB60, C++, Magik, Avenue, AML
This Is How I Go, When I Go Like This!
-
May 22nd, 2000, 09:15 PM
#3
i never tried using .Execute with
recordsaffected, but reading help,
i think this should work too. if
you try, let me know how it was.
good luck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|