I created a DBCXREG meta-data set for the free tables in the
c:\dev\test\newdata folder. I moved the meta files out to my
c:\dev\test\olddata folder. I was trying to invoke SDT to automatically
update the structure in the olddata folder to match those of the newdata
folder. However, I can't seem to get the syntax to work. I love Doug's
product, and am using the CHM for reference, but I'm obviously missing
something. Here's my code:
LOCAL oMeta as DBCXMgr OF "c:\stonefield\sdt\source\DBCXMgr.vcx"
* (MJB >> goes into some sort of suspend/debug mode after executing this
line)
oMeta = newobject('DBCXMgr', 'c:\stonefield\sdt\source\DBCXMgr.vcx', '')
* (MJB >> Never gets here due to suspended above...I resume execution and
then get "oMeta is not an object.")
* Validate a free table (path and leading "!" are required).
oMeta.Validate('!\c:\dev\test\olddata.dbf', 'Table')
I'm going to step through the code now but wanted to throw this out here
in case someone who has used SDT on free tables can easily point out the
mistake to me. My past experience with SDT (4+ years iirc) has always
been with databases (DBCs), but now I need it for a VFP7 FREE table
scenario.
Thanks!
--Michael
_______________________________________________
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
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** 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.