Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field Copy
Message
From
28/06/1999 13:58:37
Dovi Gilberd
Dovtware Consulting Inc
Miami, Florida, United States
 
 
To
27/06/1999 23:31:17
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00233837
Message ID:
00234870
Views:
34
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
Map
View

Click here to load this message in the networking platform