Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
hi i am sanjay i created a database name "stud" and a table "fee" in it.
attributes: first second third
values: 200 250 300
now i set connection string for "stud" and recordset for "fee" which is ok.
i created a form name"form1" . i took a "label1" in it and a "adodc1" control. i wrote coding on form load event as:
Private Sub Form_Load()
x = Adodc1.Recordset.Fields("second").Value
I thought it will print value 250 on the form1 at the time of its loading but i got en error "object variable or with block variable not set" error "91"
so please help me