DataEnvironment_VB6.0
260 pts.
0
Q:
DataEnvironment_VB6.0
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
ASKED: Nov 21 2008  6:32 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
85 pts.
0
A:
 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0
  • AddThis Social Bookmark Button
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

....
....
Last Answered: Nov 21 2008  7:00 AM GMT by Try it   85 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0