Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating A New Table
Message
From
11/04/2003 02:35:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/04/2003 18:41:03
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00775924
Message ID:
00776455
Views:
14
This message has been marked as the solution to the initial question of the thread.
>Hi Alex,
>
>Thanks for your interest.
>
>"Doesn't "Create Table" work for you?"
>
>For some reason it doesn't. Maybe I am getting it all wrong, not using the right commands.
>
>Do you know somewhere I can find more info about this?
>
>Thanks again.
>
>Kind Regards,
>Tarran Walker
>tarran.wlaker@reliez.com.au

Tarran,
I think you mean from ASP. This worked for me :
&lt%
cCacheDir=server.mappath ("data")
cDestDB="\testdata.dbc"
Set oConn = CreateObject("ADODB.Connection")
With oConn
  .ConnectionString = "Provider=VFPOLEDB.1;Data Source=" & cCacheDir & cDestDB
  .CursorLocation = 2 ' adUseServer
  .Mode = 16 ' adModeShareDenyNone
  .Open
  .Execute("Create Table c:\myPath\testtable free (f1 c(10))")
  .Execute("Insert Into c:\myPath\testtable (f1) values ('hello')")
End With
%>
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform