
 
 S t r i n g : 
 
 { F i e l d s [ 2 ] . V a l u e } 
 
 { S e c o n d a r y . C o n n e c t i o n S t r i n g } 
 
 
 
 I N S E R T 
 
 
 
 D B   L i n k   S e t t i n g s 
 
 { P r i m a r y . C o n n e c t i o n S t r i n g } 
 
 
 
 I N S E R T 
 
 
 
 D B   L i n k   S e t t i n g s 
 
 
 
 D E L E T E   A L L 
 
 
 
 D E L E T E   A L L 
 
 T h i s   a p p l i c a t i o n   d e m o n s t r a t e s   h o w   t o   C O P Y   o r   M O V E   d a t a   f r o m   t h e   t a b l e   o f   o n e   D a t a b a s e   t o   t h e   t a b l e   o f   a n o t h e r   D a t a b a s e .     T h e   D a t a b a s e s   d o   n o t   n e e d   t o   b e   f r o m   t h e   s a m e   t y p e   ( e . g . :   S Q L   S e r v e r   a n d   M S A c c e s s   M D B   f i l e ) .   H o w e v e r ,   t h e   o r d e r ,   n a m e   a n d   t y p e   o f   t h e   f i e l d s   f r o m   b o t h   t a b l e s   M U S T   m a t c h   e x a c t l y   i n   b o t h   d a t a b a s e s . 
 
 
 
 
 
 T h i s   p r o c e d u r e   i s   e s p e c i a l l y   u s e f u l   w h e n   m o v i n g   d a t a   f r o m   a   S e c o n d a r y   D a t a b a s e   i n t o   a   P r i m a r y   D a t a b a s e   a f t e r   t h e   P r i m a r y   D a t a b a s e   i s   a v a i l a b l e   a g a i n   a f t e r   f a i l i n g   f o r   a   p e r i o d   o f   t i m e   ( S t o r e   a n d   F o r w a r d   m e t h o d   f o r   d a t a b a s e   r e d u n d a n c y ) .   T h i s   a p p l i c a t i o n   d o e s   N O T   d e m o n s t r a t e   h o w   t o   i d e n t i f y   w h i c h   d a t a b a s e   i s   a c t i v e   a u t o m a t i c a l l y      t h e   u s e r   s e l e c t s   t h e   a c t i v e   d a t a b a s e .   I n   r e a l - w o r l d   a p p l i c a t i o n s ,   t h e r e   a r e   m e t h o d s   t o   i d e n t i f y   i f   a   d a t a b a s e   i s   a v a i l a b l e   o r   n o t . 
 
 
 
 
 
 T i p :   S e e   t h e   G l o b a l   P r o c e d u r e s   i n t e r f a c e   f o r   g e n e r i c   f u n c t i o n s   t h a t   c a n   b e   c o p i e d   t o   o t h e r   a p p l i c a t i o n s . 
 
 
 
 R e l o a d 
 
 
 
 M O V E   t o   P r i m a r y 
 
 
 
 C O P Y   t o   P r i m a r y 
 
 
 
 M O V E   t o   S e c o n d a r y 
 
 
 
 C O P Y   t o   S e c o n d a r y 
 
 E x e c u t i n g   C o m m a n d 
 
 
 P l e a s e   w a i t . . . 
 
 D a t e : 
 
 { F i e l d s [ 0 ] . V a l u e } 
 
 N u m e r i c : 
 
 { F i e l d s [ 1 ] . V a l u e } 
 
 
 
 I N S E R T   T O 
 
 
 A C T I V E 
 
 A c t i v e   D a t a b a s e : 
 
 P r i m a r y 
 
 S e c o n d a r y 
 
 
 
 V i e w   W a r n i n g 
 
 
 
 W e b   T h i n   C l i e n t   U R L : 
 
 
 h t t p : / / { G e t C o m p u t e r I P ( ) } / s t a r t u p . h t m l 
 
 
 ( U s e r   N a m e :   G u e s t ) 
 
 