DataEnvironment_VB6.0

280 pts.
Tags:
DataEnvironment
VB
VB 6
Visual Basic
Visual Basic 6
Plsease send / provide codes to for DataEnvironment (vb 6.0). I wish to use the De for all purpose, eg. In Form, In Query, In Report every things thanks anand

Answer Wiki

Thanks. We'll let you know when a new response is added.

Create a dataenvironment connection and give the connection property.Add command and
set the property to the table you want to use

dataenvironment1.rscommand1.open
to add record
dataenvironment1.rscommand1.addnew

to access fields
dataenvironment1.rscommand1.fields(0) = text1.text
dataenvironment1.rscommand1.fields(1) = text2.text

to update
dataenvironement1.rscommand1.update

to check end of file
while dataenvironment1.rscommand1.EOF = false

….
….

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following