Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Divide mytable
Message
De
07/09/2006 04:59:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divide mytable
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01151626
Message ID:
01151626
Vues:
70
hi all,

i need help to divide my table to 24 tables

my table have filed (area) from 1 to 14, and another filed (resident)
from 1 to 2,
USE RIS_RANDOMS
if area=1 or 2 or 3 and resident="1"
COPY STRU TO AmmanA
endif

if area=1 or 2 or 3 and resident="2"
COPY STRU TO AmmanR
endif

if area=4  and resident="1"
 COPY STRU TO ZarqA
ENDIF

if area=4  and resident="2"
 COPY STRU TO ZarqR
ENDIF
....
.
.
.
if area=14  and resident="1"
 COPY STRU TO AqabA
ENDIF

if area=14  and resident="2"
 COPY STRU TO AqabR
ENDIF
thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform