[AccessD] OT - VB6 Data Environment - Changing SQL Text Of Command Object At Run Time

paul.hartland at fsmail.net paul.hartland at fsmail.net
Thu Jan 10 05:47:53 CST 2008


To all,

I have a very simple app, which uses a data environment and one command.  Lets say for example the SQL text of the command at design time is SELECT MyName FROM tblPersonnel, is it possible to change the actual SQL text at run time to something else, lets say SELECT MyAddress FROM tblPersonnel.  I have tried something similar and the query seems to generate ok, but when I go back to design and open the command it has the original SQL text in there.  Is there anyway to modify and save the SQL text at run time.

Thanks in advance for any help on this.


Paul Hartland
paul.hartland at fsmail.net
07730 523179


More information about the AccessD mailing list