Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace record from other dbf
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00994807
Message ID:
00994812
Vues:
23
You must put this code in some cikle:
****
SELECT 38  && I always prefrer to work with alias name instead of Alias number
ZAP        && Faster then DELETE ALL & pack
alias38 = ALIAS()

SELECT 6
SET ORDER TO sls
alias6 = ALIAS()
SCAN
  INSERT INTO (m_alias) (scode, lcode, sec) VALUES (&alias6..scode, &alias6..lcode, &alias6..sec)
ENDSCAN

*** Or if You want to append all Records from Alias № 6
SELECT 6
alias6 = ALIAS()

SELECT 38  && I always prefrer to work with alias name instead of Alias number
ZAP        && Faster then DELETE ALL & pack
alias38 = ALIAS()
APPEND FROM DBF(alias6) FIELDS scode, lcode, sec
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform