Can anyone tell me why the following code works fine for Closing my Main Stack when it's in the IDE Development environment but won't work on a standalone? I'm closing the database and deleting the stack but it won't close the app as a standalone. revCloseDatabase gConID delete stack Main