Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access method *suddenly* doesn't fire
Message
 
À
30/10/1999 13:18:56
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00284334
Message ID:
00284379
Vues:
23
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform