Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disappearing alias?
Message
De
20/01/2005 13:28:15
 
 
À
19/01/2005 00:07:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00977939
Message ID:
00978974
Vues:
40
Hi Thomas,

If the problem is caused by the fact that the alias is removed from the name table while the command is being executed then declaring a local variable should prevent that for any command.

Thanks,
Aleksey.

>H Aleksey,
>
>>What I meant was:
>
>>LOCAL MyComponents
>>MyComponents=1
>>select ... INTO CURSOR MyComponents
>
>seems I have misinterpreted your intent.
>Do you think for my more generic use function problem something like
>
>parameters tcpath, tcAlias
>if used (m.tcAlias)
>   select (m.tcAlias)
>   use
>else
>   select 0
>endif
>LOCAL &tcAlias
>Store 1 To (m.tcAlias)
>use (m.tcpath) again alias (m.tcAlias)
>
>might help as well, or has this only a chance if the alias is programmed
>directly as CURSOR MyComponents ?
>
>Come to think of it, I haven't tried
>use (m.tcpath) again alias &tcAlias
>because of long standing habit to keep macro use to a minimum.
>Currently I have defragged the disks again, and the error doesn't show up any more.
>I will try again if I have a relatively stable "error environment".
>
>thanks
>
>thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform