General information
Category:
Coding, syntax & commands
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)
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