Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New Update Command ( VFP9 )
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
New Update Command ( VFP9 )
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01003192
Message ID:
01003192
Vues:
77
Hi all,

I have resident.dbf
iid
Cname
NoitelephoneIdReportActif
itelephoneid

cFiltre.dbf
iid
itelephoneid
ireport

I want replace in resident.dbf the field "Resident.NoitelephoneIdReportActif " WITH cFiltre.ireport
if resident.itelephoneid = cFiltre.itelephoneid and if not 0 ( zero ).

I try this but it is not good....
I want one shot command
  CURSORSETPROP("Buffering" ,5,"Resident")

*-- ICASE( F.ireport = NoReport AND  F.lactif = .T. AND  F.ireport = NoReport , F.ireport , 0 );

  UPDATE Resident SET NoitelephoneIdReportActif =  F.ireport ;
      FROM cFiltre F ;
    WHERE F.itelephoneid = Resident.itelephoneid 
    

  SELECT Resident
  =TABLEUPDATE(.T.)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform