Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL order Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Divers
Thread ID:
01442212
Message ID:
01442251
Vues:
41
Thank naomi,

This code seems good...
IF TYPE("update.iData") <> "N"
 IF !ISEXCLUSIVE( "update")
  *---------------------------------
  USE DBF( "update" ) EXCLUSIVE
  ENDIF
 ALTER TABLE ( 'UPDATE.dbf' ) ADD COLUMN iDATA I
ENDIF

*-- Manualy put the Value from idata

SET ENGINEBEHAVIOR 90
SELECT DISTINCT  CAST( ADDBS( UPDATE.clocation ) AS C(50) ) AS clocation , UPDATE.iid ,;
iDATA FROM UPDATE ORDER BY iDATA WHERE FILE( ADDBS( UPDATE.clocation) + "Id.dbf") AND ;
 FILE( ADDBS(UPDATE.clocation) + "Compagny.dbf") AND ;
 FILE ( ADDBS(clocation) + "Amline.dbc" ) INTO ARRAY Societes
SET ENGINEBEHAVIOR 70
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform