If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Create a Database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-08-04, 15:34
calculus87 calculus87 is offline
Registered User
 
Join Date: Sep 2003
Posts: 23
Talking Create an Access Database using SQL in MVS

Hello,
I would like just to create a database using SQL. I am currently using Microsoft Visual Studio 6.0. I am currently able to add columns and tables. Change the data in the DB, but again I am not able to create the database. It does no seem that it should be that hard. Thanks for the help.
__________________
This message is a natural product made from recycled electrons. The slight
variations in spelling and grammar enhance its individual character and
beauty and in no way are to be considered flaws or defects.

Last edited by calculus87; 06-08-04 at 16:46.
Reply With Quote
  #2 (permalink)  
Old 06-08-04, 15:38
calculus87 calculus87 is offline
Registered User
 
Join Date: Sep 2003
Posts: 23
By the way

The Database needs to be a Microsoft Access Database
__________________
This message is a natural product made from recycled electrons. The slight
variations in spelling and grammar enhance its individual character and
beauty and in no way are to be considered flaws or defects.
Reply With Quote
  #3 (permalink)  
Old 06-10-04, 07:42
ivon ivon is offline
Registered User
 
Join Date: Nov 2002
Posts: 272
In your project, reference the Access object library.
In your code, use
Code:
Dim accessApp As New Access.Application
accessApp.NewCurrentDatabase ("c:\new.mdb")
to create a new mdb.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On