Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field Copy
Message
De
28/06/1999 13:58:37
Dovi Gilberd
Dovtware Consulting Inc
Miami, Floride, États-Unis
 
 
À
27/06/1999 23:31:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00233837
Message ID:
00234870
Vues:
35
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..
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform