Lew Schwartz said:
>...you 'scatter ... name this additive' which is bound to create problems
imo.
why? - it is even suggested as a technique in Help!
>...Surely if you attempt to write to the properties named 'class',
'baseclass', 'name' etc... some issues will arise.
In my experience vfp is very forgiving in this regard('select select,from
from select alias' &c.) - and I do have control over column names in the
database.
>...In your email below you scatter name this.oData which is much better
ah - no, in in the form load()* I do " thisform.NewObject('oData',
'myData','main.prg')" and in e.g. oData.init() I do 'select curMycur1;
scatter memo name this' which adds the cursor column names/ values as
properties of the [thisform.]oData object.
as per Michael's suggestion I am creating my busObj in form.load - the ca's
are in effect my dataObj's so I don't have much choice where they are
created.
Andrew Davies MBCS CITP
- AndyD 8-)#
**********************************************************************
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
Please contact [EMAIL PROTECTED] with any queries.
**********************************************************************
_______________________________________________
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.