Howdy!

I can set up the Data connection through the data environment no problem, but is it possible to change the SQL statement through code for the Data Environment while the program is running?.

For example:

DE.dcn1.command1.commandtext = "Select * from Table1"


This doesn't work, If anyone has any ideas, it'll help.

Thanx