Dynamic Database Switching: Difference between revisions

m
typos...
m (categories)
m (typos...)
Line 90: Line 90:
       String sCurr
       String sCurr
        
        
       Get_Database_Name to sCurr  // Note: Mertech docs say not supported on MySQl,
       Get_Database_Name to sCurr
                                  // but seems to work.
   
       Move (Trim(sDB)) to sDB
       Move (Trim(sDB)) to sDB
       If (sDB = sCurr) Procedure_Return  // Don't do more than we have to.
       If (sDB = sCurr) Procedure_Return  // Don't do more than we have to.