Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anybody ca help mecall a function to evaluate cell in g
Message
From
28/06/1999 14:05:15
Dovi Gilberd
Dovtware Consulting Inc
Miami, Florida, United States
 
 
To
28/06/1999 05:36:06
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Visual ProMatrix
Miscellaneous
Thread ID:
00232180
Message ID:
00234875
Views:
23
hi dragan..im using this code that returns the rate code that i chose for the customer..
what else do i need to ad to it to obtain the correct value for that call under that rate plan...? please.......



FUNCTION getrate()
PARAMETERS Result
cRateField="long_distance.rate"
select rates
set orde to tag code

IF LEFT(view1.dialednr,1)='0'
SEEK LEFT(view1.dialednr,6)
endif

IF LEFT(view1.dialednr,1)="#"
SEEK LEFT(view1.dialednr,3)
endif

if LEFT(view1.dialednr,1)='1'
SEEK LEFT(view1.dialednr,4)
ENDIF
RETURN EVAL(cRateField)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform