<i><font color="darkblue">Can SQL Pass Through be used with business objects data environments defined in aDataEnv.prg?</font></i> <i><font color="darkgreen">Yes, but you will have to create the data access classes and cursor classes yourself. Once those have been created, the business object and GUI will work just fine.</font></i> <i><font color="#663300">I know this is an old topic but I have the very same concerns with a new app that I'm working on. When you say you have to create data classes, are you referring to the Data Environment classes? I guess you'll have to make changes in the data behavior classes as well? Need some advice or guidance on how to go about using SPT with CB6.1.</font></i>
You will have to create your own data behavior classes. Codebook is designed to work with views, either local or remote. In order to create the SPT commands, and return the results in for the rest of the framework, you'll have to write your own subclasses. And unless you have some very unusual requirements, SPT has no advantage over remote views, and I wouldn't recommend spending the time on it.
<font color="#cc0000"> ___/ / __/ / ____/</font> Ed Leafe ©2001 Ed Leafe |