Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access method *suddenly* doesn't fire
Message
 
To
30/10/1999 13:18:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00284334
Message ID:
00284379
Views:
26
Nancy,

I could be way off but, Is the assign method in the superclass? If so did you add code to the assign in the concrete class and not issue a dodefault()?

hth

>Mike,
>
>Yes, I'm *sure* it doesn't fire. I break at the assignment line--IF EMPTY( this.alias), and the code continues w/o executing the assign.
>
>FWIW, the method has code in it in the superclass from which data subclasses inherit. When the program breaks, I verify that that the assign method is in the list of populated methods for the object, and the code is there. Oddly, I can't double-click any line in the access method to make a breakpoint.
>
>The baseclass is custom.
>
>The code is irrelevant since the method never fires < bg>, but it is:
>
IF EMPTY( this.Alias )
>	LOCAL lcSN
>	lcSN = this.SourceName
>	IF EMPTY( lcSN )
>		RETURN .NULL.
>	ENDIF
>	lcSN = SUBSTR( lcSN, RAT( '\', lcSN ) + 1 )
>	this.Alias = lcSN
>ENDIF
>RETURN THIS.alias
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform