Results 1 to 7 of 7

Thread: [RESOLVED] Add tables/queries to an existing database

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Resolved [RESOLVED] Add tables/queries to an existing database

    Morning everybody,
    Assume a database was sent to user as a part of project setup duly made using PDW. I would like to know if it is possible to add one or more tables/queries to the existing database through a fresh setup using PDW. While updating the db the data already in use with the customer should not be overwritten.
    DB: Access 2003
    VB6

    Thanks in advance

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Add tables/queries to an existing database

    I believe that when deploying a new file that PDW will overwrite the old file. I don't believe that in PDW you can specify anything other than that.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: Add tables/queries to an existing database

    I don't believe that in PDW you can specify anything other than that.
    Can inno perform such kind of acts. Or is there a way to add tables/queries into an existing db without destroying the existing data

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Add tables/queries to an existing database

    You can't deploy new tables or queries like that. What you can do is to deploy another database that has the tables and queries in them and then use code to update the database with the new tables and queries.

    In Inno Setup you can specify to overwrite the database or to leave it alone. You have the option on deployment.
    Last edited by randem; Apr 20th, 2007 at 02:09 AM.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: Add tables/queries to an existing database

    What you can do is to deploy another table that has the tables and queries in them and then use code to update the database with the new tables and queries
    or simply make a setup of the EXE with code something like create table/View on app startup to create a table/queries/views.
    Is this possible?

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Add tables/queries to an existing database

    Yes, you can deploy an exe to alter the table structures and create new queries.

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: Add tables/queries to an existing database

    Thanks very much randem

Posting Permissions

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



Click Here to Expand Forum to Full Width