>I have an application that is built utilizing VMP (Visual Maxframe Professional 4.0) and SDT (Stonefield Database Toolkit 5.1).
>
>
>4) I load the exe and it crashes. I get a message that reads "Unable to setup the system". The calling program is ctrggapp.setuptables. It is basically crashing because the fields in the table to be updated do not match the new dbc. This table is not an SDT or VMP system table that is necessary for setup. It is a data table will be utilized when I call an application form.
>
In addition to the other suggestion about running before you open any other tables, you can determine if any updates exists automatically. Do something like:
IF oMeta.oSDTMgr.NeedUpdate()
oMeta.oSDTMgr.Update()
ENDIF