*-----------------------------------------------
*-- Check to see if the application is being run
*-- in debug mode ... if it is build/rebuild the
*-- application's metadata.
*-----------------------------------------------
lcMetaTableName = IIF(EMPTY(tcEXE), METADATA, FORCEEXT(JUSTFNAME(tcEXE),"DBF"))
<\PRE>
Please advise.
Derek