On 12/08/2011 07:57 PM, nore...@z505.com wrote: > > I was thinking for CGI someone could drop components on a form like > database connections, to hide this code away to not bloat up the main > program code with connections and passwords etc. > > For example.. I drop some database components onto a form, setup the > connections, passwords, IP address, but then I can run the queries myself > using sQL.. > > writeln(SomeQuery.SQL('SELECT * from Foo')); > > > The program only has a query in it, all the connections are set up on the > form using RAD! > Have a look to tsqlresult in tab DB and the getsqlresult*() functions in lib/common/db/msesqlresult.pas.
Martin ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk