Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Raju S
  Where is Raju S?
 Mumbai
 India
 Raju S
 To: Anders Altberg
  Where is Anders Altberg?
 Uppsala
 Sweden
 Anders Altberg
 Tags
Subject: RE: create CREATE TABLE command.
Thread ID: 232549 Message ID: 232562 # Views: 26 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Wednesday, June 24, 2009 1:20:12 PM         
   


Thanks. I got it from your code.

> > Hi Experts,
> >
> > There are about 40 files. I have created them using CREATE command. I want to create all the files using CREATE TABLE command. In SQL Server, it is possible to get CREATE TABLE command by dropping table in the command area. Do we have anything like that ?
> >
> > Or I will have to look at the structure of all the files and construct CREATE TABLE command.
> >
> > Thanks all.
>
>
> If the tables are attached to a VFP database you can
> DO GENDBC.PRG 
(it's in a HOME() folder) and it will generate a complete program script to rebuild your system in all its details.
> If they are all "free" tables, now is the time to this:
>
CREATE DATABASE Data\MyData 
> OPEN DATABASE ?
> SET DATABASE TO Mydata
> ADD TABLE xx NAME whateveryouwant
> 
> 
You can also do this in the Program Manager by clicking the buttons on the Data page,
> or in the Database Designer:
>
MODIFY DATABASE
> 
-Anders



COMPLETE THREAD
create CREATE TABLE command. Posted by Raju S @ 6/24/2009 9:52:05 AM
RE: create CREATE TABLE command. Posted by Anders Altberg @ 6/24/2009 10:33:48 AM
RE: create CREATE TABLE command. Posted by Raju S @ 6/24/2009 1:20:12 PM
RE: create CREATE TABLE command. Posted by Andy Kramek @ 6/24/2009 11:42:19 AM
RE: create CREATE TABLE command. Posted by Raju S @ 6/24/2009 1:22:30 PM