Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Matrix rate
Message
De
28/06/1999 18:38:15
Dovi Gilberd
Dovtware Consulting Inc
Miami, Floride, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00234901
Message ID:
00235003
Vues:
25
evan sorryn to bother you..im still in this rate thing
im using this function that returns to me the corect name of the rate that the person is using
i do not know how to tie the conditions to fetrmine the rate..please help me out

FUNCTION getrate()
PARAMETERS Result
cRateField="long_distance.rate"
IF LEFT(view1.dialednr,1)="0"
SEEK LEFT(view1.dialednr,6)
endif
IF LEFT(view1.dialednr,1)="1"
SEEK LEFT(view1.dialednr,4)
endif
IF LEFT(view1.dialednr,1)='#'
SEEK LEFT(view1.dialednr,3)
endif



RETURN EVAL(cRateField)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform