Is it possible to change the SQL Text of Command thr' code which is created in DataEn
Expand Post »
Hello,
I created command object in DataEnvironment. Now I wish to change to command object's Sql Text since table name gets changed depending upon year of working.
Re: Is it possible to change the SQL Text of Command thr' code which is created in DataEn
Let me try to help in this case, (Since i got the same doubt),
See, there is a DataEnvironment, it has a Connection object and both's required properties set at design time. There is also a Command1 which has a SQL string command which is set during design time.
Now,
At runtime I want to change the Command1's SQL string, but since its a constant value it give an error, how to solve it?
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.