473,386 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Database Creating

OuTCasT
374 256MB
Hi all.

I want to ask if its possible if we could have a form that would require user input in textboxes and with that information create the dbName and dbTables ?

for example these were required to fill in [ ] = textbox :

Company Name: [dbName]

Earnings: [dbEarningsTable]

Bonus: [dbEarningsTable].[dbEarningTableColumn]
Salary: [dbEarningsTable].[dbEearningsTableColumn]

is something like this possible.

each time they create a NEW COMPANY a new database is created with that name being the new company name and then they got to populate it with there own details? ??
Apr 7 '08 #1
3 1111
ck9663
2,878 Expert 2GB
Is it possible? Yes.

Is that form possible in MS-SQL Server, No.

You have to create the form using a front-end tool and use the info supplied on that form to create your DB and tables.

-- CK
Apr 7 '08 #2
OuTCasT
374 256MB
Is it possible? Yes.

Is that form possible in MS-SQL Server, No.

You have to create the form using a front-end tool and use the info supplied on that form to create your DB and tables.

-- CK
Ok so ive created like a couple of screens that will act as a wizard at creation of company etc.

the sql statement would be structured how ?

Expand|Select|Wrap|Line Numbers
  1. Create Table ' " & txtCompanyName.text & " ' 
Apr 8 '08 #3
ck9663
2,878 Expert 2GB
Ok so ive created like a couple of screens that will act as a wizard at creation of company etc.

the sql statement would be structured how ?

Expand|Select|Wrap|Line Numbers
  1. Create Table ' " & txtCompanyName.text & " ' 

Looks like you're using VB/ASP/.net apps. But you're in the right direction. You just have to place that entire string into a variable that you can pass to your connection object.

-- CK
Apr 9 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Dim St Thomas | last post by:
I am a developer working on a database client program. I am testing this program on a Windows XP machine (1.5 GHz AMD chip, 480 Mb RAM, 60 Gb disk) This machine has Oracle 9.2.0.1.0 and RedBrick...
5
by: Alias | last post by:
Hi Guys , I am trying to create a federated database link between 2 UDB 8.1 databases running on AIX on the same box but under different instances. When i tried this thru the control centre , I...
2
by: Karen | last post by:
As an Access novice, I have built a database that contains our company customer data, job info, and surveyor time and expense. I taught myself about tables, relationships, queries, etc., but feel...
12
by: Gary | last post by:
I have a backend Database with just one main table in it (no form/queries etc) The network pc's have the front end database (with all the forms, queries,macros etc). These front ends are linked...
6
by: Jerry Spence1 | last post by:
Why doesn't the following work in my ASP program? I have imported ADOX I am trying to create a temporary database on the user's PC. The example is taken from Microsoft. Dim cat As Catalog =...
1
by: bennett | last post by:
I'm trying to write an ASPX page that uses an OleDbDataAdapter to get data from a SQL Server database. When I test the connection, it returns success, and when I preview the data using the...
3
by: jason | last post by:
I've been playing around with new (for 2.0) membershp functionality. I was able to build a simple login form that secures a directory on a project I built locally on my development desktop. ...
22
by: amygdala | last post by:
Hi, I'm trying to grasp OOP to build an interface using class objects that lets me access database tables easily. You have probably seen this before, or maybe even built it yourself at some...
1
by: gobis | last post by:
Hello all, I am working on a csharp database application that should give its end users the ability to create new tables related to existing ones or even create the database structure completely...
12
by: nyathancha | last post by:
Hi, I have a question regarding best practices in database design. In a relational database, is it wise/necessary to sometimes create tables that are not related to other tables through a...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.