Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

"Strange" ADO behavior

 
   Database Help (Home) -> Visual Basic RSS
Next:  Parameter Query  
Author Message
Nikos

External


Since: Feb 07, 2005
Posts: 1



(Msg. 1) Posted: Mon Feb 07, 2005 12:40 am
Post subject: "Strange" ADO behavior
Archived from groups: comp>lang>basic>visual>database (more info?)

Hello there
I've encountered this problem. I put an ADO control on my form, connect it
to a DB, test the connection OK. But when I try to access it using code, I
get this message: "object variable or With block variable not set" and my
code fails. After many attempts to work this out, I found this: if I put
another control and bind it to the ADO DC, my code works! If I delete the
data bound control, my code fails again, and so on. So, in order to
manipulate the data bound to the ADO, I have to use a useless invisible
control!
(Using VB 6, all required references, etc).
Any ideas?
TIA

 >> Stay informed about: "Strange" ADO behavior 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
sql query returns in wrong format - Hi, Hope someone can help me with this. I have MS SQL 2000 database where i have Table "PriceList" and there a column "Pricemk" wich is data type "money". All data in this column is in form "10001,35". So why when...

arrays - is there a way to concatenate the contents of an array (looping through the array) and storing each item in a comma delimited string? Thanks!

DataReport PageBreak - Hi everyone, I would like to know how to force pagebreak in a datareport for example after 5 records printed. Thank you all

Possible Use of a Cursor - I have a complex query that I hope I can explain it well enough for everyone to understand. I have a table that contains information for work instructions. Contained in the table are "MACHINE_PROC" these are groupings of machining processes....

Scroll Bars - Is there a way to find the size of scrollbars on a system using Visual Basic 6.0? I know how to look and change them on the display properties, but I don't know how to access that information from within Visual Basic.
   Database Help (Home) -> Visual Basic All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]