Andy Davies wrote:
> comments please (I haven't tried this yet - I thought I'd pass it by the
> higher minds on the list first <s>)
>
> DEFINE CLASS busObj as Custom
> PROCEDURE init
> PARAMETERS pnHndl && PARAMETERS oDE
> SQLEXEC(pnHndl,[select * from foo f join bah b on f.idBah = b.id where
> 1=2],'curMT')
> * or && select (oDE.initailselectedalias)
> SCATTER NAME this additive
> this.addproperty('nHndl', pnHndl)
> ENDPROC
>
> * form controls bound to properties of oBusObj (=fields from
> oDE.initailselectedalias)
> PROCEDURE savefoo
> SQLEXEC(this.nHndl,[select * from foo where 1=2],'curFooMT')
> makeupdateable() && only for spt cursors
> append blank
> GATHER NAME this
> tableupdate()
> ENDPROC
>
> ENDDEFINE
>
>
What's the question? Personally, I don't use the DataEnvironment...but
that's just because I never did, as I saw it coupling too close to the
Fox years ago. I know it's changed, but I never went to it.
--
Michael J. Babcock, MCP
MB Software Solutions, LLC
http://mbsoftwaresolutions.com
http://fabmate.com
"Work smarter, not harder, with MBSS custom software solutions!"
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.