Hello to all,
Please can someone help me on how to create a databse at run-time.
I have created a database with Access that I am using with the VB application and it is working well.
But now, I want the user to be able to create another database that will have the same format as the one I created in Access.
Thanks in advance for your help!
turbojol 0 Newbie Poster
Recommended Answers
Jump to PostMake sure you read the tutorial in the sticky thread: http://www.daniweb.com/techtalkforums/thread41057.html, and another alternative is to actually copy the file (with VB) to a new location with a new name, and then have an SQL query to remove all the records....
Jump to Postyou need to create the database at designtime separately not at runtime.
Jump to PostHey... You Just Create Blank Structure Of Your Data Base... And Use
FileCopy <SourcePath>, <TargetPath> Command
Use This Commnad Wheever You Required
All The Bestwill that work for SQL SERVER ?
All 9 Replies
Comatose 290 Taboo Programmer Team Colleague
karnarajan 0 Newbie Poster
ashishnic 0 Newbie Poster
shri974 0 Newbie Poster
debasisdas 580 Posting Genius Featured Poster
Teropod 0 Light Poster
alkeshnayak 0 Newbie Poster
debasisdas 580 Posting Genius Featured Poster
Teropod 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.