Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New Update Command ( VFP9 )
Message
 
 
To
10/04/2005 12:59:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01003192
Message ID:
01003222
Views:
18
Incredible but true ....;)

bernhart
 SET SECONDS ON
  SET MULTILOCKS OFF
  CURSORSETPROP("Buffering" ,1,"Resident")
  timestart1=SECONDS()

  UPDATE Resident ;
    SET  NoitelephoneIdReportActif ;
    = NVL((SELECT F.ireport FROM cFiltre F WHERE F.itelephoneid=Resident.itelephoneid AND F.ireport = NoReport),0)

  SELECT Resident
  *  =TABLEUPDATE(.T.)
  SET MULTILOCKS ON
  Buffe1 =  SECONDS()-timestart1

  CURSORSETPROP("Buffering" ,5,"Resident")
  timestart5=SECONDS()
  UPDATE Resident ;
    SET  NoitelephoneIdReportActif ;
    = NVL((SELECT F.ireport FROM cFiltre F WHERE F.itelephoneid=Resident.itelephoneid AND F.ireport = NoReport),0)
Buffe5 = SECONDS()-timestart5

*-- Buffe1 0.828
*-- Buffe5 0.047


>>Fabio,
>>
>>Bingo !
>>
>>This solution is very nice !
>
>>
>>great Thank....
>>
>You're welcome.
>
>bernhart, can you give me this info ?
>
>
>timestart=seconds()
>-- set buffer
>-- UPDATE
>-- TABLEUPDATE
>wait windows seconds()-timestart
>
>
>
>timestart=seconds()
>set no buffer
>UPDATE
>wait windows seconds()-timestart
>
>
>Which is faster ?
Previous
Reply
Map
View

Click here to load this message in the networking platform