Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Curiosity
Message
De
12/07/2000 11:12:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00391058
Message ID:
00391255
Vues:
13
James,

>I have a custom method of my business object "oBenGenBiz.cGetOhter" that is behaving in a manner I cannot explain. Maybe someone can enlighten me.

Let's try to narrow this down.

>The anomaly is this: I have a statement as follows:
>lcRetVal=SUBSTR(lcHoldContent,lnStartPos,oBenGenBiz.nPadding).

How about putting this code immediately before the line in question, just to be sure:
WAIT WINDOW lcHoldContent + STR(lnStartPos,4) + ;
STR(oBenGenBiz.nPadding,4)
and this code immediately after the line:
WAIT WINDOW lcRetVal
Also, if this line of code is inside your oBenGenBiz.cGetOther method, you might want to try THIS.nPadding as the 3rd parameter.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform