General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only