Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

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, 16: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 17:46.
Reply With Quote
  #2 (permalink)  
Old 06-08-04, 16: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, 08:42
ivon ivon is offline
Registered User
 
Join Date: Nov 2002
Posts: 265
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

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