Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDT NeedUpdate/Update not working at client machine
Message
From
22/10/2000 14:13:49
Adam Skowronski
Custom Designed Systems
Miami, Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00432554
Message ID:
00432631
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform