Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Curiosity
Message
From
12/07/2000 11:12:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00391058
Message ID:
00391255
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform