Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Matrix rate
Message
From
25/06/1999 18:43:24
Dovi Gilberd
Dovtware Consulting Inc
Miami, Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00233562
Message ID:
00234254
Views:
33
Hi barbara how are you...i'm fine stil dealing with rates..I figure it out
I have to ask you for a big favor...Pleae help me create a function that goes more like this..using the upper()

my rate table again....goes like this
rate code country, rate1, rate2, raten

my clients has a field where i preset the rate..persay rate 2

the function goes something like this,,,someone else wrote it but it does not workk properly

function rate()
lparameter dialednr,code,result,result,n
select rates
set order to tag code
seek left(view1.dialednr,6)
for n=1 to fcount()
if field(n)=upper(code) & is the countrycode i think
return eval(field(n))*result &result is the duration of call on view1.dialednr
endif
endfor
rate=n
return rate
endfunc

please help me
Previous
Reply
Map
View

Click here to load this message in the networking platform