
How can I get ADO Control to work with Data Environment?
Quote:
> I set up a command in Data Environment to represent a table from the
> connection1 and threw that command into a form(to generate a data input form
> like Access form). In the form I also have a ADO control(Adodc1) at the
> bottom. I ran my program with no error but Adodc1 was not enabled so I could
> not browse through my table. I would like to know if there is anyway to make
> this possible.
I don't know how to connect ADO data control to DataEnvironment. You
could put 4 CommandButtons on your form so you could browse throough the
table: one button for MoveNext, MovePrevious, MoveFirst, MoveLast.
Code for MoveNext button would be like:
If Not(DataEnvironment.rsCommand1.EOF) Then
DataEnvironment.rsCommand1.MoveNext
End If
I hope this idea helps you.
--
Jim in Cleveland
If you're writing to me, in my address
change "REAL_Address.see.below" to "worldnet.att.net"
"What's so funny 'bout peace, love & understanding?"
- Nick Lowe