Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New Update Command ( VFP9 )
Message
 
À
10/04/2005 09:43:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01003192
Message ID:
01003199
Vues:
52
Bonjour Fabio,

Thank for help but it work not good.

I think that perhaps impossible with One shot command....?????
UPDATE Resident SET NoitelephoneIdReportActif =  0

UPDATE R SET NoitelephoneIdReportActif =  F.ireport ; && CHOICE WHERE AND WHAT TO UPDATE
      FROM Resident R LEFT JOIN cFiltre F ON F.itelephoneid = R.itelephoneid ; && BUILD THE WORK SET
   WHERE f.ireport = noreport AND F.itelephoneid = R.itelephoneid   && FILTER THE WORK SET
I would like

*-- if the condition is not then replace with 0

UPDATE R SET NoitelephoneIdReportActif = NVL( F.ireport , 0 ) ; && CHOICE WHERE AND WHAT TO UPDATE
FROM Resident R LEFT JOIN cFiltre F ON F.itelephoneid = R.itelephoneid ; && BUILD THE WORK SET
WHERE f.ireport = noreport AND F.itelephoneid = R.itelephoneid && FILTER THE WORK SET



But it do'nt work...





> CURSORSETPROP("Buffering" ,5,"Resident") && WHY YOU USE A BUFFER ?
>
IN foxtalk 2.0 March 2005 Page 15 Tips from the vfp team...

it goes faster ! ( no trigger ).

bernhart
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform