Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File in Use Error
Message
 
 
To
15/03/2005 09:41:03
Natalie Sebastian
Great Lakes Behavioral Research Institut
Cranberry Township, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00995744
Message ID:
00995914
Views:
14
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform