Below is the DAT file I now use so a table from another RBASE database
attaches.  Everything is working fine.

At the end of the day, though the SALES DB is detached, the table stays
attached.  

My question is this: Since the Table never gets detached, will this
prevent me from doing my maintenance on

The LABOR DB (such as packing, etc).  If yes, should I use a timer to
detach the tables sometime at the

end of the day?  Or what would be the best way to care for this?

 

Jim

 

CONNECT Labor

   CLS

   SET ERROR MESSAGE 2038 OFF

   SDETACH Leadall NOCHECK

   SET ERROR MESSAGE 2038 ON

   SDISCONNECT ';Driver=R:BASE 7.6 Database Driver (*.rb1);dbq=Sales'

   SCONNECT ';Driver=R:BASE 7.6 Database Driver (*.rb1);dbq=Sales'

   SATTACH LEADALL USING LEADCODE ALIAS
CONTACT,COMPNAME,COMPADD,COMPCITY,+

 
COMPSTATE,COMPZIP,COMPAREA,COMPPHPRE,COMPPHSUF,COMPEXT,sPROMOCAT,sPROMOI
D,LEADDATE,+

   DATEANSW,SALEPER,TICDATE,INTEREST,LEADGOOD,NOTES,LEADCODE

   EDIT USING KayParkMainMenu

   SDISCONNECT ';Driver=R:BASE 7.6 Database Driver (*.rb1);dbq=SALES'

   DISCONNECT

   EXIT

RETURN

Reply via email to