Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to stop tables opening in current database
Message
From
19/01/2005 12:11:18
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00978441
Message ID:
00978612
Views:
35
>that title should have been 'creating' not opening.. but hey.
>
>I have a system which runs many jobs, these jobs are all old standalone prg's, I made the part of my system that runs the prg's have it's own private datasession, I thought that this would hide and protect all the systems database and tables from the code lurking in the old prg's, however a few use create() and the new tables are by default inserted into my open database even though that database is not in the current datasession, I wasn't expecting that behaviour. without going through all the old prgs and adding FREE to the creates can I hide my database away? again, I thought that would have been done with the new datasession thing.

Try CREATE CURSOR instead of CREATE TABLE.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform