hey john...i'm trying this code that you sent me but a bit modified
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)
what this does is it gives me in the colum of the grid that im calling getrate()
the name of the field of the rate taht im going to use...
if i chage the rate on the customer it changes on the grid too..
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