>I bought SDT today & need to have it be operational tomorrow morning. I can't get it to work. I put the code that's listed in the SDT manual into the starting program of my project. When I run the exe, I get the messge, ometa is not an object. What is wrong?
>
>In the line IF type('ometa') <> 'O' ... is the 'O' numberic or character?
>
>TIA
Hi Ellen,
To answer your last question first, it is the letter "oh" as in
Oject.
Some things to check would include:
1)
SET CLASSLIB TO DBCXMGR ADDITIVE before instantiating oMeta. The default location for DBCXMGR.VCX is in C:\Stonefield\SDT\Source\.
2) Double check your syntax. The correct syntax for instantiating oMeta in VFP6 is
oMeta = newobject('DBCXMgr', 'DBCXMGR.VCX').
3) Be sure be sure you are instantiating oMeta from the top of the call stack (e.g., from your main prg) so it will remain in scope and be visible throughout the application.
HTH,
Rick
Rick Borup, MCSD
recursion (rE-kur'-shun) n.
see recursion.