Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2003
    Posts
    23

    Talking Unanswered: 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.
    Last edited by calculus87; 06-08-04 at 17:46.
    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.

  2. #2
    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.

  3. #3
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •