Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert time to number
Message
De
26/12/2005 01:08:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Divers
Thread ID:
01080685
Message ID:
01080794
Vues:
13
hi,
thank you for reply,
I a gree 100%
thank you again.

m.qasem
>Mohammed,
>
>Both, SCAN and REPLACE have FOR clause where you can specify a filter
>USE table1 IN  0
>SCAN FOR plan > "00:00:00"
>...
>or
>replace plan1 WITH VAL(SUBSTR(plan,1,2))*60+VAL(SUBSTR(plan,4,2)) ;
>   FOR plan > "00:00:00"
>
REPLACE with FOR clause will be faster because it loock the table once for the duration of operation. That's also its downside.
>
>
>>it works as
>>
>>USE table1 IN  0
>>  SET FILTER TO plan>"00:00:00"
>>SCAN
>>replace plan1 WITH VAL(SUBSTR(plan,1,2))*60+VAL(SUBSTR(plan,4,2))
>>ENDSCAN
>>
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform