Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating A New Table
Message
De
11/04/2003 02:35:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/04/2003 18:41:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00775924
Message ID:
00776455
Vues:
12
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform