Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File in Use Error
Message
 
 
À
15/03/2005 09:41:03
Natalie Sebastian
Great Lakes Behavioral Research Institut
Cranberry Township, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00995744
Message ID:
00995914
Vues:
16
You don't need macro substitution in this case. It also can cause a problem if file name includes spaces.
if not used(m.tcOrigTable)
	use (m.tcOrigTable) in 0 excl
endif

if not used(m.lcArchTableAlias)
	use (m.lcArchTable) alias (m.lcArchTableAlias) in 0
endif
>I forgot to mention i need to open the original in exclusive mode (so i can delete and pack). I have been 'stuck' in this, so i may be missing the forest for the trees :)
>
>I am doing everything with variables...here's my code:
>
>if not used(m.tcOrigTable)
> use &tcOrigTable in 0 excl
>endif
>
>if not used(m.lcArchTableAlias)
> use &lcArchTable alias &lcArchTableAlias in 0
>endif
>
>The variables for the tables include the UNC path.
>
>Thank you kindly.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform