Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT to table
Message
From
30/01/1999 08:39:38
 
 
To
30/01/1999 08:30:29
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00182137
Message ID:
00182141
Views:
15
>Does SELECT ..... INTO TABLE .... create a table which always EXCL ON?

Yes; you always have exclusive access to a file created this way unless you close and reopen it again shared. A quick way to do that in place:

SELECT ... INTO TABLE ...
LOCAL cAlias, cDBF
cAlias = ALIAS()
cDBF = FULLPATH(DBF())
USE
USE (cDBF) ALIAS (cAlias) SHARED
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform