Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New Update Command ( VFP9 )
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
New Update Command ( VFP9 )
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01003192
Message ID:
01003192
Views:
76
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.)
Next
Reply
Map
View

Click here to load this message in the networking platform