Mark, thanks for the suggestion. I have eliminated the duplicate lMeta reference and the code is now as follows, yet when I do the transfer to the second computer and try to run the application, it tells me the 'Database is invalid'.
I changed the 4th property to .T. (to run in debug mode) and it tells me that 'DBCXMGR.VCX' does not exist. As per the manual, both DBCXMGR & SDT are added to the project.
Any other suggestions for me to look at here?
Thanks,
>PRIVATE oMeta
>oMeta = NEWOBJECT('DBCXMgr', 'DBCXMGR.VCX', '', .F., JustPath(DBC()))
>IF TYPE('oMeta') <> 'O' OR ISNULL(oMeta)
> * Error message would be here.
> * other code to deal with client.
> CLOSE DATABASE
> CLEAR EVENTS
> CLEAR ALL
> QUIT
>ENDIF
>oMeta.SetDatabase(DBC())
>IF oMeta.oSDTMgr.NeedUpdate()
> WAIT WINDOW "Updating your Application - Please Wait" NOWAIT
> oMeta.oSDTMgr.Update()
> WAIT CLEAR
>ENDIF oMeta.oSDTMgr.NeedUpdate()
Adam J Skowronski